Class SerializableGridDateColumn
Represents a class that is used to serialize and deserialize GridDateColumn.
Inherited Members
Namespace: Syncfusion.UI.Xaml.DataGrid.Serialization
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class SerializableGridDateColumn : SerializableGridColumn
Examples
var folder = ApplicationData.Current.LocalFolder;
var storageFile = await folder.CreateFileAsync("DataGrid.xml", CreationCollisionOption.ReplaceExisting);
SerializationOptions options = new SerializationOptions();
options.SerializeColumns = true;
this.sfDataGrid.Serialize(storageFile, options);
Constructors
SerializableGridDateColumn()
Declaration
public SerializableGridDateColumn()
Properties
AllowNull
Gets or sets a value that indicates whether the null values are allowed in SerializableGridDateColumn.
Declaration
public bool AllowNull { get; set; }
Property Value
Type |
---|
System.Boolean |
DisplayDateFormat
Gets or sets a string that specifies how to format the bounded value in SerializableGridDateColumn.
Declaration
public string DisplayDateFormat { get; set; }
Property Value
Type |
---|
System.String |
EditMode
Gets or sets a value that specifies EditMode of the GridDateColumn in grid.
Declaration
public DateTimeEditMode EditMode { get; set; }
Property Value
Type | Description |
---|---|
DateTimeEditMode | The default value is Mask. |
MaxDate
Gets or sets the maximum date and time allowed for SerializableGridDateColumn.
Declaration
public DateTimeOffset MaxDate { get; set; }
Property Value
Type |
---|
System.DateTimeOffset |
MinDate
Gets or sets the minimum date and time allowed for SerializableGridDateColumn.
Declaration
public DateTimeOffset MinDate { get; set; }
Property Value
Type |
---|
System.DateTimeOffset |
PlaceholderText
Gets or sets a string that specifies the watermark text for SerializableGridDateColumn.
Declaration
public string PlaceholderText { get; set; }
Property Value
Type |
---|
System.String |