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.WPF.dll
Syntax
public class GridNumericStyleInfo : StyleInfoSubObjectBase, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, 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
AllowScrollingOnCircle
Gets or Sets the AllowScrollingOnCircle property of double edit cell.
Declaration
public bool AllowScrollingOnCircle { get; set; }
Property Value
Type |
---|
System.Boolean |
Default
Returns the default GetDefaultStyle() style.
Declaration
public GridNumericStyleInfo Default { get; }
Property Value
Type |
---|
GridNumericStyleInfo |
MaxValue
Gets or sets the MaxValue property of DoubleEdit cell.
Declaration
public double MaxValue { get; set; }
Property Value
Type |
---|
System.Double |
MinValue
Gets or sets the MinValue property of doubleedit cell.
Declaration
public double MinValue { get; set; }
Property Value
Type |
---|
System.Double |
NegativeForeground
Gets or sets the NegativeForeground property of double edit cell.
Declaration
public SolidColorBrush NegativeForeground { get; set; }
Property Value
Type |
---|
System.Windows.Media.SolidColorBrush |
NumberDecimalSeparator
Gets or sets the number decimal separator for double edit cell.
Declaration
public string NumberDecimalSeparator { get; set; }
Property Value
Type |
---|
System.String |
NumberGroupSeparator
Gets or sets the numbergroupseparator for double edit cell.
Declaration
public string NumberGroupSeparator { get; set; }
Property Value
Type |
---|
System.String |
NumberNegativePattern
Gets or sets the negative pattern of numeric edit cell.
Declaration
public int NumberNegativePattern { get; set; }
Property Value
Type |
---|
System.Int32 |
NumberOfDecimalDigits
Gets or sets the decimal digits of numeric edit cell.
Declaration
public int NumberOfDecimalDigits { get; set; }
Property Value
Type |
---|
System.Int32 |
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 |