Class GridNumericColumn
Represents a column that displays the numeric values in its cell content.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class GridNumericColumn : GridTextColumnBase, IDisposable, INotifyDependencyPropertyChanged, IFilterDefinition
Constructors
GridNumericColumn()
Initializes a new instance of the GridNumericColumn class.
Declaration
public GridNumericColumn()
Fields
AllowNullInputProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridNumericColumn.AllowNullInput dependency property.
Declaration
public static readonly DependencyProperty AllowNullInputProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridNumericColumn.AllowNullInput dependency property.
BlockCharactersOnTextInputProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridNumericColumn.BlockCharactersOnTextInput dependency property.
Declaration
public static readonly DependencyProperty BlockCharactersOnTextInputProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridNumericColumn.BlockCharactersOnTextInput dependency property.
FormatStringProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridNumericColumn.FormatString dependency property.
Declaration
public static readonly DependencyProperty FormatStringProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridNumericColumn.FormatString dependency property.
MaximumNumberDecimalDigitsProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridNumericColumn.MaximumNumberDecimalDigits dependency property.
Declaration
public static readonly DependencyProperty MaximumNumberDecimalDigitsProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridNumericColumn.MaximumNumberDecimalDigits dependency property.
ParsingModeProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridNumericColumn.ParsingMode dependency property.
Declaration
public static readonly DependencyProperty ParsingModeProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridNumericColumn.ParsingMode dependency property.
PercentDisplayModeProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridNumericColumn.PercentDisplayMode dependency property.
Declaration
public static readonly DependencyProperty PercentDisplayModeProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridNumericColumn.PercentDisplayMode dependency property.
WaterMarkProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridNumericColumn.WaterMark dependency property.
Declaration
public static readonly DependencyProperty WaterMarkProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridNumericColumn.WaterMark dependency property.
Properties
AllowNullInput
Gets or sets a value that indicates whether the null values are allowed in GridNumericColumn.
Declaration
public bool AllowNullInput { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the null values are allowed ; otherwise , false . The default value is false. |
BlockCharactersOnTextInput
Gets or sets a value indicating whether the characters is blocked from an user input.
Declaration
public bool BlockCharactersOnTextInput { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the characters blocked; otherwise, false. |
FormatString
Gets or sets a string that specifies how to format the bound value in GridNumericColumn.
Declaration
public string FormatString { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that specifies how to format the bound value in GridNumericColumn. The default value is string.Empty. |
MaximumNumberDecimalDigits
Gets or sets the number of decimal digits associated with the GridNumericColumn.
Declaration
public int MaximumNumberDecimalDigits { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | By default, any number of decimal digits are allowed. |
ParsingMode
Gets or sets a value that decides indicates the type to be parsed among numeric types (int, double, deciaml) in GridNumericColumn. As GridNumericColumn is used to edit all (int, double, decimal) numeric types. If you are binding decimal type data with column, then you have to set ParsingMode as Decimal. simillarly for Double,You Have to Set ParseMode as Double
Declaration
public Parsers ParsingMode { get; set; }
Property Value
Type | Description |
---|---|
Parsers | One of the Parsers that specifies the parsing mode of GridNumericColumn. The default mode is Parsers.Double . |
PercentDisplayMode
Gets or Sets the value in percentage associated with GridNumericColumn.
Declaration
public PercentDisplayMode PercentDisplayMode { get; set; }
Property Value
Type | Description |
---|---|
PercentDisplayMode | The Default value is PercentDisplayMode. |
WaterMark
Gets or sets the content displayed as a watermark in GridNumericColumn when its cell contains empty value.
Declaration
public object WaterMark { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The content displayed as a watermark in GridNumericColumn when its cell contains empty value. The default value is string.Empty. |
Methods
SetDisplayBindingConverter()
Sets the converter for the
Declaration
protected override void SetDisplayBindingConverter()
Overrides
Remarks
You can override this method to specify the converter for