Class GridCurrencyStyleInfo
Provides a StyleInfoSubObjectBase object for currencycellstyles settings in a cell. Each currencycell 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 GridCurrencyStyleInfo : StyleInfoSubObjectBase, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject, IDisposable
Constructors
GridCurrencyStyleInfo()
Initialize the GridCurrencyStyleInfo
Declaration
public GridCurrencyStyleInfo()
GridCurrencyStyleInfo(StyleInfoSubObjectIdentity)
Initalizes a new GridCurrencyStyleInfo object and associates it with an existing
Declaration
public GridCurrencyStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A |
GridCurrencyStyleInfo(StyleInfoSubObjectIdentity, GridCurrencyStyleInfoStore)
Initalizes a new GridFontInfo object and associates it with an existing
Declaration
public GridCurrencyStyleInfo(StyleInfoSubObjectIdentity identity, GridCurrencyStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A |
GridCurrencyStyleInfoStore | store |
Properties
AllowScrollingOnCircle
Gets or Sets the AllowScrollingOnCircle property of currency edit cell.
Declaration
public bool AllowScrollingOnCircle { get; set; }
Property Value
Type |
---|
System.Boolean |
CurrencyDecimalDigits
Gets or sets the decimal digits of currency edit cell.
Declaration
public int CurrencyDecimalDigits { get; set; }
Property Value
Type |
---|
System.Int32 |
CurrencyDecimalSeparator
Gets or sets the currencydecimal separator for currency edit cell.
Declaration
public string CurrencyDecimalSeparator { get; set; }
Property Value
Type |
---|
System.String |
CurrencyGroupSeparator
Gets or sets the currencygroupseparator for currency edit cell.
Declaration
public string CurrencyGroupSeparator { get; set; }
Property Value
Type |
---|
System.String |
CurrencyNegativePattern
Gets or sets the currency negative pattern of currency edit cell.
Declaration
public int CurrencyNegativePattern { get; set; }
Property Value
Type |
---|
System.Int32 |
CurrencyPositivePattern
Gets or sets the currency positive pattern of currency edit cell.
Declaration
public int CurrencyPositivePattern { get; set; }
Property Value
Type |
---|
System.Int32 |
CurrencySymbol
Gets or sets the decimal digits of currency edit cell.
Declaration
public string CurrencySymbol { get; set; }
Property Value
Type |
---|
System.String |
Default
Returns the default GetDefaultStyle() style.
Declaration
public GridCurrencyStyleInfo Default { get; }
Property Value
Type |
---|
GridCurrencyStyleInfo |
MaxValue
Gets or sets the MaxValue property of CurrencyEdit cell.
Declaration
public Decimal MaxValue { get; set; }
Property Value
Type |
---|
System.Decimal |
MinValue
Gets or sets the MinValue property of currencyedit cell.
Declaration
public Decimal MinValue { get; set; }
Property Value
Type |
---|
System.Decimal |
NegativeForeground
Gets or sets the NegativeForeground property of currency edit cell.
Declaration
public SolidColorBrush NegativeForeground { get; set; }
Property Value
Type |
---|
System.Windows.Media.SolidColorBrush |
PositiveForeground
Gets or sets the PositiveForeground property of currencyedit cell.
Declaration
public SolidColorBrush PositiveForeground { get; set; }
Property Value
Type |
---|
System.Windows.Media.SolidColorBrush |
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 |
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 |