Class GridPercentStyleInfo
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 GridPercentStyleInfo : StyleInfoSubObjectBase, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject, IDisposable
Constructors
GridPercentStyleInfo()
Initialize the GridCurrencyStyleInfo
Declaration
public GridPercentStyleInfo()
GridPercentStyleInfo(StyleInfoSubObjectIdentity)
Initalizes a new GridCurrencyStyleInfo object and associates it with an existing
Declaration
public GridPercentStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A |
GridPercentStyleInfo(StyleInfoSubObjectIdentity, GridPercentStyleInfoStore)
Initalizes a new GridFontInfo object and associates it with an existing
Declaration
public GridPercentStyleInfo(StyleInfoSubObjectIdentity identity, GridPercentStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A |
GridPercentStyleInfoStore | store |
Properties
AllowScrollingOnCircle
Gets or Sets the AllowScrollingOnCircle property of percentage edit cell.
Declaration
public bool AllowScrollingOnCircle { get; set; }
Property Value
Type |
---|
System.Boolean |
Default
Returns the default GetDefaultStyle() style.
Declaration
public GridPercentStyleInfo Default { get; }
Property Value
Type |
---|
GridPercentStyleInfo |
MaxValue
Gets or sets the MaxValue property of percentage edit cell.
Declaration
public double MaxValue { get; set; }
Property Value
Type |
---|
System.Double |
MinValue
Gets or sets the MinValue property of percentage edit cell.
Declaration
public double MinValue { get; set; }
Property Value
Type |
---|
System.Double |
NegativeForeground
Gets or sets the NegativeForeground property of percentage edit cell.
Declaration
public SolidColorBrush NegativeForeground { get; set; }
Property Value
Type |
---|
System.Windows.Media.SolidColorBrush |
PercentDecimalDigits
Gets or sets the decimal digits of percent edit cell.
Declaration
public int PercentDecimalDigits { get; set; }
Property Value
Type |
---|
System.Int32 |
PercentDecimalSeparator
Gets or sets the percentagedecimal separator for percentage edit cell.
Declaration
public string PercentDecimalSeparator { get; set; }
Property Value
Type |
---|
System.String |
PercentEditMode
Gets or sets the percent mode.
Declaration
public PercentEditMode PercentEditMode { get; set; }
Property Value
Type |
---|
PercentEditMode |
PercentGroupSeparator
Gets or sets the percentagegroupseparator for percent edit cell.
Declaration
public string PercentGroupSeparator { get; set; }
Property Value
Type |
---|
System.String |
PercentNegativePattern
Gets or sets the percent negative pattern of percent edit cell.
Declaration
public int PercentNegativePattern { get; set; }
Property Value
Type |
---|
System.Int32 |
PercentPositivePattern
Gets or sets the percent positive pattern of percent edit cell.
Declaration
public int PercentPositivePattern { get; set; }
Property Value
Type |
---|
System.Int32 |
PercentSymbol
Gets or sets the decimal digits of percent edit cell.
Declaration
public string PercentSymbol { get; set; }
Property Value
Type |
---|
System.String |
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 |