Class SerializableGridTimeColumn
Represents a class that is used to serialize and deserialize GridTimeColumn.
Inherited Members
Namespace: Syncfusion.UI.Xaml.DataGrid.Serialization
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class SerializableGridTimeColumn : 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
SerializableGridTimeColumn()
Declaration
public SerializableGridTimeColumn()
Properties
AllowNull
Gets or sets a value that indicates whether the null values are allowed in SerializableGridTimeColumn.
Declaration
public bool AllowNull { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is |
DisplayTimeFormat
Gets or sets a string that specifies how to format the bounded value in SerializableGridTimeColumn.
Declaration
public string DisplayTimeFormat { get; set; }
Property Value
Type |
---|
System.String |
EditMode
Gets or sets a value that specifies EditMode of the GridTimeColumn in grid.
Declaration
public DateTimeEditMode EditMode { get; set; }
Property Value
Type | Description |
---|---|
DateTimeEditMode | The default value is Mask. |
MaxTime
Gets or sets the maximum date and time allowed for SerializableGridTimeColumn.
Declaration
public DateTimeOffset MaxTime { get; set; }
Property Value
Type |
---|
System.DateTimeOffset |
MinTime
Gets or sets the minimum date and time allowed for SerializableGridTimeColumn.
Declaration
public DateTimeOffset MinTime { get; set; }
Property Value
Type |
---|
System.DateTimeOffset |
PlaceholderText
Gets or sets a string that specifies the watermark text for SerializableGridTimeColumn.
Declaration
public string PlaceholderText { get; set; }
Property Value
Type |
---|
System.String |
ShowSubmitButtons
Gets or sets a value that indicates whether a Submit button control is used to adjust the time value in SerializableGridTimeColumn.
Declaration
public bool ShowSubmitButtons { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true. |