Class GridUpDownStyleInfo
Provides a StyleInfoSubObjectBase object for updowncellstyles settings in a cell. Each numericcell style property of the cell can be configured individually.
numericcell style properties thathave not been initialized will inherit default values from a base style.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.CellGrid.Styles
Assembly: Syncfusion.SfCellGrid.UWP.dll
Syntax
public class GridUpDownStyleInfo : StyleInfoSubObjectBase, IStyleInfo, ISupportInitialize, IFormattable, IXmlSerializable, IStyleInfoSubObject, IDisposable
Constructors
GridUpDownStyleInfo()
Initialize the
Declaration
public GridUpDownStyleInfo()
GridUpDownStyleInfo(StyleInfoSubObjectIdentity)
Initalizes a new GridFontInfo object and associates it with an existing
Declaration
public GridUpDownStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A |
GridUpDownStyleInfo(StyleInfoSubObjectIdentity, GridUpDownStyleInfoStore)
Initalizes a new GridFontInfo object and associates it with an existing
Declaration
public GridUpDownStyleInfo(StyleInfoSubObjectIdentity identity, GridUpDownStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A |
GridUpDownStyleInfoStore | store |
Properties
AccentBrush
Accent Brush property is used to decorate the hot spots of a control with a solid color.
Declaration
public SolidColorBrush AccentBrush { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.SolidColorBrush |
AutoReverse
While incrementing, the control will start from Minimum once it reaches the Maximum and vice-versa.
Declaration
public bool AutoReverse { get; set; }
Property Value
Type |
---|
System.Boolean |
Default
Returns the default GetDefaultStyle() style.
Declaration
public GridUpDownStyleInfo Default { get; }
Property Value
Type |
---|
GridUpDownStyleInfo |
FormatString
Gets or sets the numberformat property of updownedit cell.
Declaration
public string FormatString { get; set; }
Property Value
Type |
---|
System.String |
LargeChange
Gets or sets the LargeChange is the property by which the Value gets incremented when PageUp key is pressed and validation is done based on Maximum value.
Declaration
public double LargeChange { get; set; }
Property Value
Type |
---|
System.Double |
Maximum
Gets or sets the Maximum value of UpdownEdit cell.
Declaration
public double Maximum { get; set; }
Property Value
Type |
---|
System.Double |
Minimum
Gets or sets the Mnimum value of UpdownEdit cell.
Declaration
public double Minimum { get; set; }
Property Value
Type |
---|
System.Double |
NumberOfDecimalDigits
Gets or sets the decimal digits of updown edit cell.
Declaration
public int NumberOfDecimalDigits { get; set; }
Property Value
Type |
---|
System.Int32 |
Parsers
Gets or sets the parsingmode property of updownedit cell.
Declaration
public Parsers Parsers { get; set; }
Property Value
Type |
---|
Parsers |
PercentDisplayMode
Gets or sets the percentage format type of updown edit cell.
Declaration
public PercentDisplayMode PercentDisplayMode { get; set; }
Property Value
Type |
---|
PercentDisplayMode |
SmallChange
SmallChange is the property by which the Value get incremented or decremented on mouse wheel.
Declaration
public double SmallChange { get; set; }
Property Value
Type |
---|
System.Double |
SpinButtonAlignment
Spin Button position in the SfNumericUpDown control can be changed relative to the TextBox based on SpinButtonsAlignment
Declaration
public SpinButtonsAlignment SpinButtonAlignment { get; set; }
Property Value
Type |
---|
SpinButtonsAlignment |
TextAlignment
Gets or sets the horizontal alignment of the contents of updownedit cell.
Declaration
public TextAlignment TextAlignment { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.TextAlignment |
Methods
Dispose(Boolean)
Releases the all resources used by the Component.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Dispose the instance, if it is True |
Overrides
GetDefaultStyle()
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type |
---|
StyleInfoBase |
Overrides
MakeCopy(StyleInfoBase, StyleInfoProperty)
Declaration
public override IStyleInfoSubObject MakeCopy(StyleInfoBase newOwner, StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoBase | newOwner | |
StyleInfoProperty | sip |
Returns
Type |
---|
IStyleInfoSubObject |