Class GridEditorColumn
Provides the base implementation for all the editor columns in the SfDataGrid.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public abstract class GridEditorColumn : GridTextColumnBase, IDisposable, INotifyDependencyPropertyChanged, IFilterDefinition
Constructors
GridEditorColumn()
Initializes a new instance of the GridEditorColumn class.
Declaration
protected GridEditorColumn()
Fields
AllowNullValueProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridEditorColumn.AllowNullValue dependency property.
Declaration
public static readonly DependencyProperty AllowNullValueProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridEditorColumn.AllowNullValue dependency property.
AllowScrollingOnCircleProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridEditorColumn.AllowScrollingOnCircle dependency property.
Declaration
public static readonly DependencyProperty AllowScrollingOnCircleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridEditorColumn.AllowScrollingOnCircle dependency property.
MaxValidationProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridEditorColumn.MaxValidation dependency property.
Declaration
public static readonly DependencyProperty MaxValidationProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridEditorColumn.MaxValidation dependency property.
MaxValueProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridEditorColumn.MaxValue dependency property.
Declaration
public static readonly DependencyProperty MaxValueProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridEditorColumn.MaxValue dependency property.
MinValidationProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridEditorColumn.MinValidation dependency property.
Declaration
public static readonly DependencyProperty MinValidationProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridEditorColumn.MinValidation dependency property.
MinValueProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridEditorColumn.MinValue dependency property.
Declaration
public static readonly DependencyProperty MinValueProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridEditorColumn.MinValue dependency property.
NullTextProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridEditorColumn.NullText dependency property.
Declaration
public static DependencyProperty NullTextProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridEditorColumn.NullText dependency property.
NullValueProperty
Identifies the Syncfusion.UI.Xaml.Grid.GridEditorColumn.NullValue dependency property.
Declaration
public static readonly DependencyProperty NullValueProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.GridEditorColumn.NullValue dependency property.
Properties
AllowNullValue
Gets or sets a value that indicates whether the null values are allowed to the editor columns.
Declaration
public bool AllowNullValue { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the null value is allowed ; otherwise , false . The default value is false. |
AllowScrollingOnCircle
Gets or sets a value that indicates whether the user can change the cell values using the mouse wheel or up and down arrow key.
Declaration
public bool AllowScrollingOnCircle { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the cell value is changed using the mouse wheel or up and down arrow key; otherwise , false. The default value is true. |
MaxValidation
Gets or sets a value that indicates whether the MaxValue can be validated key press or focus lost on editor in GridEditorColumn.
Declaration
public MaxValidation MaxValidation { get; set; }
Property Value
Type | Description |
---|---|
MaxValidation | One of the MaxValidation enumeration that specifies how the MaxValue is validated. The default value is MaxValidation.OnKeyPress. |
MaxValue
Gets or sets the maximum value constraint of the column.
Declaration
public Decimal MaxValue { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal | The maximum value constraint of the column. |
MinValidation
Gets or sets a value that indicates whether the MinValue can be validated key press or focus lost on editor in GridEditorColumn
Declaration
public MinValidation MinValidation { get; set; }
Property Value
Type | Description |
---|---|
MinValidation | One of the MaxValidationenumeration that specifies how the MinValue can be validated. The default value is MinValidation.OnKeyPress. |
MinValue
Gets or sets the minimum value constraint of the column.
Declaration
public Decimal MinValue { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal | The minimum value constraint of the column. |
NullText
Gets or sets a string that is displayed instead of null value if the cell value is null.
Declaration
public string NullText { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that is displayed instead of null value in the cell. |
Remarks
The NullText is applied ,when the AllowNullValue property is enabled.
NullValue
Gets or sets an object that is displayed instead of null value if the cell value is null.
Declaration
public object NullValue { get; set; }
Property Value
Type | Description |
---|---|
System.Object | An object that is displayed instead of null value in the cell. |
Remarks
The NullValue is applied ,when the AllowNullValue property is enabled.
Methods
CanAllowSpinOnMouseScroll()
Determines whether the cell value is changed using mouse wheel or up and down arrow key is pressed.
Declaration
protected override bool CanAllowSpinOnMouseScroll()
Returns
Type | Description |
---|---|
System.Boolean | Returns true if the cell value can be rotated using mouse wheel or up and down arrow key ; otherwise false . |