Class GridUpDownColumn
Represents a column that displays the UpDown value in its cell content.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class GridUpDownColumn : GridColumn, IDisposable, INotifyDependencyPropertyChanged, IFilterDefinition
Constructors
GridUpDownColumn()
Initializes a new instance of the GridUpDownColumn class.
Declaration
public GridUpDownColumn()
Fields
AutoReverseProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridUpDownColumn.AutoReverse dependency property.
Declaration
public static readonly DependencyProperty AutoReverseProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridUpDownColumn.AutoReverse dependency property.
BlockCharactersOnTextInputProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridUpDownColumn.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.GridUpDownColumn.BlockCharactersOnTextInput dependency property.
FormatStringProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridUpDownColumn.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.GridUpDownColumn.FormatString dependency property.
LargeChangeProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridUpDownColumn.LargeChange dependency property.
Declaration
public static readonly DependencyProperty LargeChangeProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridUpDownColumn.LargeChange dependency property.
MaxValueProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridUpDownColumn.MaxValue dependency property.
Declaration
public static readonly DependencyProperty MaxValueProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridUpDownColumn.MaxValue dependency property.
MinValueProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridUpDownColumn.MinValue dependency property.
Declaration
public static readonly DependencyProperty MinValueProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridUpDownColumn.MinValue dependency property.
NumberDecimalDigitsProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridUpDownColumn.NumberDecimalDigits dependency property.
Declaration
public static readonly DependencyProperty NumberDecimalDigitsProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridUpDownColumn.NumberDecimalDigits dependency property.
ParsingModeProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridUpDownColumn.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.GridUpDownColumn.ParsingMode dependency property.
SmallChangeProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridUpDownColumn.SmallChange dependency property.
Declaration
public static readonly DependencyProperty SmallChangeProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridUpDownColumn.SmallChange dependency property.
SpinButtonsAlignmentProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridUpDownColumn.SpinButtonsAlignment dependency property.
Declaration
public static readonly DependencyProperty SpinButtonsAlignmentProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridUpDownColumn.SpinButtonsAlignment dependency property.
Properties
AutoReverse
Gets or sets a value that specifies whether the column automatically reverses the value when it reaches MinValue or MaxValue.
Declaration
public bool AutoReverse { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the column automatically reverses the value when it reaches the MinValue or MaxValue; otherwise, false. |
BlockCharactersOnTextInput
Gets or sets a value indicating whether [block characters on text input].
Declaration
public bool BlockCharactersOnTextInput { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
FormatString
Gets or sets a string that specifies how to format the bounded value in GridUpDownColumn.
Declaration
public string FormatString { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that specifies how to format the bound value in GridUpDownColumn. The default value is string.Empty. |
LargeChange
Gets or sets a value to increment or decrement when PageUp and PageDown key is pressed.
Declaration
public double LargeChange { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The value to increment or decrement when PageUp and PageDown key is pressed. The default value is 1d. |
MaxValue
Gets or sets the maximum allowed value for the GridUpDownColumn.
Declaration
public double MaxValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The maximum allowed value for the GridUpDownColumn. The default value is double.MaxValue. |
MinValue
Gets or sets the minimum allowed value for the GridUpDownColumn.
Declaration
public double MinValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The minimum allowed value for the GridUpDownColumn. The default value is double.MinValue. |
NumberDecimalDigits
Gets or sets the number of decimal places to use in numeric values.
Declaration
public int NumberDecimalDigits { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The number of decimal places to use in numeric values. |
ParsingMode
Gets or sets a value that decides whether the user can parse decimal or double value in GridUpDownColumn.
Declaration
public Parsers ParsingMode { get; set; }
Property Value
Type | Description |
---|---|
Parsers | One of the Parsers that specifies the parsing mode of GridUpDownColumn. The default mode is Parsers.Double . |
SmallChange
Gets or sets a value to increment or decrement when Up and Down arrow key or mouse wheel is pressed.
Declaration
public double SmallChange { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The value to increment or decrement when Up and Down arrow key or mouse wheel is pressed. The default value is 1d. |
SpinButtonsAlignment
Gets or sets a SpinButtonsAlignment that specifies the alignment of spin buttons in GridUpDownColumn.
Declaration
public SpinButtonsAlignment SpinButtonsAlignment { get; set; }
Property Value
Type | Description |
---|---|
SpinButtonsAlignment | One of the SpinButtonsAlignment that specifies the alignment of spin buttons in GridUpDownColumn.The default value is Right. |
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 GridUpDownColumn.
Declaration
protected override void UpdateBindingBasedOnAllowEditing()