Class SerializableGridDateTimeColumn
Represents a class that is used to serialize and deserialize GridTextColumn property settings.
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Serialization
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class SerializableGridDateTimeColumn : SerializableGridColumn
Constructors
SerializableGridDateTimeColumn()
Declaration
public SerializableGridDateTimeColumn()
Properties
AllowNull
Gets or sets a value indicating whether the null values are allowed in the DateTime column or not.
Declaration
public bool AllowNull { get; set; }
Property Value
Type |
---|
System.Boolean |
AllowValueChangeOnMouseWheel
Gets or sets a value indicating whether the value change can occur on mouse wheel.
Declaration
public bool AllowValueChangeOnMouseWheel { get; set; }
Property Value
Type |
---|
System.Boolean |
Remarks
Default value is false. It will work only when the DateTimeEditingMode is set to DateTimeEditingMode.Default.
DateTimeEditingMode
Gets or sets the editing mode for the DateTime edit control.
Declaration
public DateTimeEditingMode DateTimeEditingMode { get; set; }
Property Value
Type |
---|
DateTimeEditingMode |
InterceptArrowKeys
Gets or sets a value indicating whether the value can be changed using the UP ARROW and DOWN ARROW keys.
Declaration
public bool InterceptArrowKeys { get; set; }
Property Value
Type |
---|
System.Boolean |
MaxDateTime
Gets or sets the maximum value of the DateTime column.
Declaration
public DateTime MaxDateTime { get; set; }
Property Value
Type |
---|
System.DateTime |
MinDateTime
Gets or sets the minimum value of the DateTime column.
Declaration
public DateTime MinDateTime { get; set; }
Property Value
Type |
---|
System.DateTime |
NullValue
Gets or sets the DateTime value which needs to be displayed instead of the null value of the column.
Declaration
public DateTime? NullValue { get; set; }
Property Value
Type |
---|
System.Nullable<System.DateTime> |
Pattern
Gets or sets the DateTime pattern for the column.
Declaration
public DateTimePattern Pattern { get; set; }
Property Value
Type |
---|
DateTimePattern |
ShowDropDownButton
Gets or sets a value indicating whether the drop down button can be visible or not.
Declaration
public bool ShowDropDownButton { get; set; }
Property Value
Type |
---|
System.Boolean |
Remarks
Default value is true.