Class TreeGridPercentColumn
Represents a column that displays the percent values in its cell content.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class TreeGridPercentColumn : TreeGridEditorColumn, IDisposable, IFilterDefinition
Constructors
TreeGridPercentColumn()
Initializes a new instance of TreeGridPercentColumn class.
Declaration
public TreeGridPercentColumn()
Fields
PercentDecimalDigitsProperty
Identifies the Syncfusion.UI.Xaml.TreeGrid.TreeGridPercentColumn.PercentDecimalDigits dependency property.
Declaration
public static readonly DependencyProperty PercentDecimalDigitsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.TreeGrid.TreeGridPercentColumn.PercentDecimalDigits dependency property.
PercentDecimalSeparatorProperty
Identifies the Syncfusion.UI.Xaml.TreeGrid.TreeGridPercentColumn.PercentDecimalSeparator dependency property.
Declaration
public static readonly DependencyProperty PercentDecimalSeparatorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.TreeGrid.TreeGridPercentColumn.PercentDecimalSeparator dependency property.
PercentEditModeProperty
Identifies the Syncfusion.UI.Xaml.TreeGrid.TreeGridPercentColumn.PercentEditMode dependency property.
Declaration
public static readonly DependencyProperty PercentEditModeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.TreeGrid.TreeGridPercentColumn.PercentEditMode dependency property.
PercentGroupSeparatorProperty
Identifies the Syncfusion.UI.Xaml.TreeGrid.TreeGridPercentColumn.PercentGroupSeparator dependency property.
Declaration
public static readonly DependencyProperty PercentGroupSeparatorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.TreeGrid.TreeGridPercentColumn.PercentGroupSeparator dependency property.
PercentGroupSizesProperty
Identifies the Syncfusion.UI.Xaml.TreeGrid.TreeGridPercentColumn.PercentGroupSizes dependency property.
Declaration
public static readonly DependencyProperty PercentGroupSizesProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.TreeGrid.TreeGridPercentColumn.PercentGroupSizes dependency property.
PercentNegativePatternProperty
Identifies the Syncfusion.UI.Xaml.TreeGrid.TreeGridPercentColumn.PercentNegativePattern dependency property.
Declaration
public static readonly DependencyProperty PercentNegativePatternProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.TreeGrid.TreeGridPercentColumn.PercentNegativePattern dependency property.
PercentPositivePatternProperty
Identifies the Syncfusion.UI.Xaml.TreeGrid.TreeGridPercentColumn.PercentPositivePattern dependency property.
Declaration
public static readonly DependencyProperty PercentPositivePatternProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.TreeGrid.TreeGridPercentColumn.PercentPositivePattern dependency property.
PercentSymbolProperty
Identifies the Syncfusion.UI.Xaml.TreeGrid.TreeGridPercentColumn.PercentSymbol dependency property.
Declaration
public static readonly DependencyProperty PercentSymbolProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.TreeGrid.TreeGridPercentColumn.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 TreeGridPercentColumn.
Declaration
public PercentEditMode PercentEditMode { get; set; }
Property Value
Type | Description |
---|---|
PercentEditMode | One of the PercentEditMode that decides the type of value loads in TreeGridPercentColumn 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 TreeGridPercentColumn.
Declaration
public int PercentNegativePattern { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The format pattern for negative percent values in TreeGridPercentColumn. |
PercentPositivePattern
Gets or sets the format pattern for the positive values in TreeGridPercentColumn.
Declaration
public int PercentPositivePattern { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The percent positive pattern in TreeGridPercentColumn. |
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
UpdateBindingBasedOnAllowEditing()
Updates the binding for the AllowEdit property changes in the TreeGridPercentColumn.
Declaration
protected override void UpdateBindingBasedOnAllowEditing()