Class GridNumericStyleInfo
Provides a StyleInfoSubObjectBase object for numericcellstyles 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 GridNumericStyleInfo : StyleInfoSubObjectBase, IStyleInfo, ISupportInitialize, IFormattable, IXmlSerializable, IStyleInfoSubObject, IDisposable
Constructors
GridNumericStyleInfo()
Initialize the
Declaration
public GridNumericStyleInfo()
GridNumericStyleInfo(StyleInfoSubObjectIdentity)
Initalizes a new GridFontInfo object and associates it with an existing
Declaration
public GridNumericStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A |
GridNumericStyleInfo(StyleInfoSubObjectIdentity, GridNumericStyleInfoStore)
Initalizes a new GridFontInfo object and associates it with an existing
Declaration
public GridNumericStyleInfo(StyleInfoSubObjectIdentity identity, GridNumericStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A |
GridNumericStyleInfoStore | store |
Properties
Default
Returns the default GetDefaultStyle() style.
Declaration
public GridNumericStyleInfo Default { get; }
Property Value
Type |
---|
GridNumericStyleInfo |
FormatString
Gets or sets the numberformat property of numericedit cell.
Declaration
public string FormatString { get; set; }
Property Value
Type |
---|
System.String |
MaxNumberOfDecimalDigits
Gets or sets the decimal digits of numeric edit cell.
Declaration
public int MaxNumberOfDecimalDigits { get; set; }
Property Value
Type |
---|
System.Int32 |
Parsers
Gets or sets the parsingmode property of numericedit cell.
Declaration
public Parsers Parsers { get; set; }
Property Value
Type |
---|
Parsers |
PercentDisplayMode
Gets or sets the percentage format type of numeric edit cell.
Declaration
public PercentDisplayMode PercentDisplayMode { get; set; }
Property Value
Type |
---|
PercentDisplayMode |
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 |