Class GridPercentColumn
Represents a column that displays the percent values in its cell content.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class GridPercentColumn : GridEditorColumn, IDisposable, INotifyDependencyPropertyChanged, IFilterDefinition
Constructors
GridPercentColumn()
Initializes a new instance of GridPercentColumn class.
Declaration
public GridPercentColumn()
Fields
PercentDecimalDigitsProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentDecimalDigits dependency property.
Declaration
public static readonly DependencyProperty PercentDecimalDigitsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentDecimalDigits dependency property.
PercentDecimalSeparatorProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentDecimalSeparator dependency property.
Declaration
public static readonly DependencyProperty PercentDecimalSeparatorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentDecimalSeparator dependency property.
PercentEditModeProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentEditMode dependency property.
Declaration
public static readonly DependencyProperty PercentEditModeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentEditMode dependency property.
PercentGroupSeparatorProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentGroupSeparator dependency property.
Declaration
public static readonly DependencyProperty PercentGroupSeparatorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentGroupSeparator dependency property.
PercentGroupSizesProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentGroupSizes dependency property.
Declaration
public static readonly DependencyProperty PercentGroupSizesProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentGroupSizes dependency property.
PercentNegativePatternProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentNegativePattern dependency property.
Declaration
public static readonly DependencyProperty PercentNegativePatternProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentNegativePattern dependency property.
PercentPositivePatternProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentPositivePattern dependency property.
Declaration
public static readonly DependencyProperty PercentPositivePatternProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentPositivePattern dependency property.
PercentSymbolProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentSymbol dependency property.
Declaration
public static readonly DependencyProperty PercentSymbolProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentSymbol dependency property.
Properties
PercentDecimalDigits
Gets or sets the number of decimal places to use in percent values.
Declaration
public int PercentDecimalDigits { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The number of decimal places to use in percent values. |
PercentDecimalSeparator
Gets or sets the string to use as the decimal separator in percent values.
Declaration
public string PercentDecimalSeparator { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string to use as the decimal separator in percent values. |
PercentEditMode
Gets or sets a value that indicates whether the percent editor loads percent or double value being edited in GridPercentColumn.
Declaration
public PercentEditMode PercentEditMode { get; set; }
Property Value
Type | Description |
---|---|
PercentEditMode | One of the PercentEditMode that decides the type of value loads in GridPercentColumn being edited. The default value is PercentEditMode.DoubleMode. |
PercentGroupSeparator
Gets or sets the string that separates groups of digits to the left of the decimal in percent values.
Declaration
public string PercentGroupSeparator { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that separates groups of digits to the left of the decimal in percent values. |
PercentGroupSizes
Gets or sets the number of digits in each group to the left of the decimal in percent values.
Declaration
public Int32Collection PercentGroupSizes { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Int32Collection | The number of digits in each group to the left of the decimal in percent values. |
PercentNegativePattern
Gets or sets the format pattern for negative values in GridPercentColumn.
Declaration
public int PercentNegativePattern { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The format pattern for negative percent values in GridPercentColumn. |
PercentPositivePattern
Gets or sets the format pattern for the positive values in GridPercentColumn.
Declaration
public int PercentPositivePattern { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The percent positive pattern in GridPercentColumn. |
PercentSymbol
Gets or sets the string to use as the percent symbol.
Declaration
public string PercentSymbol { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string to use as the percent symbol. |
Methods
SetDisplayBindingConverter()
Sets the converter for the
Declaration
protected override void SetDisplayBindingConverter()
Overrides
Remarks
You can override this method to specify the converter for
UpdateBindingBasedOnAllowEditing()
Updates the binding for the AllowEdit property changes in the GridPercentColumn.
Declaration
protected override void UpdateBindingBasedOnAllowEditing()