Class SerializableDataGridColumn
Represents a class that is used to serialize and deserialize DataGridColumn property settings.
Inheritance
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class SerializableDataGridColumn : Object
Constructors
SerializableDataGridColumn()
Declaration
public SerializableDataGridColumn()
Fields
DataGrid
Gets the reference of the SfDataGrid control.
Declaration
public static SfDataGrid DataGrid
Field Value
Type |
---|
SfDataGrid |
Properties
ActualWidth
Gets or sets the actual display width of the column when auto fitted.
Declaration
public double ActualWidth { get; set; }
Property Value
Type |
---|
System.Double |
AllowEditing
Gets or sets a value that indicates whether the editing is enabled in SerializableDataGridColumn.
Declaration
public Nullable<bool> AllowEditing { get; set; }
Property Value
Type |
---|
System.Nullable<System.Boolean> |
AllowFocus
Gets or sets a value that indicates whether the SerializableDataGridColumn receives focus or not.
Declaration
public bool AllowFocus { get; set; }
Property Value
Type |
---|
System.Boolean |
AllowSorting
Gets or sets a value that indicates whether the user can sort the data by clicking on its header cell of SerializableDataGridColumn .
Declaration
public Nullable<bool> AllowSorting { get; set; }
Property Value
Type |
---|
System.Nullable<System.Boolean> |
CellPadding
Gets or sets the space between the edge of cell and its content with in the specified SerializableDataGridColumn.
Declaration
public Thickness CellPadding { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Thickness |
CellTextAlignment
Gets or sets the horizontal alignment property for the text.
Declaration
public TextAlignment CellTextAlignment { get; set; }
Property Value
Type |
---|
Microsoft.Maui.TextAlignment |
ColumnWidthMode
Gets or sets the value that indicates how the column width is determined in SerializableDataGridColumn.
Declaration
public ColumnWidthMode ColumnWidthMode { get; set; }
Property Value
Type |
---|
ColumnWidthMode |
CultureInfo
Gets or sets the culture used for formatting the Content of record cells in the SerializableDataGridColumn.
Declaration
public CultureInfo CultureInfo { get; set; }
Property Value
Type |
---|
System.Globalization.CultureInfo |
Format
Gets or sets the format of SerializableDataGridColumn.
Declaration
public string Format { get; set; }
Property Value
Type |
---|
System.String |
HeaderLineBreakMode
Gets or sets the LineBreak modes for the column header in SerializableDataGridColumn.
Declaration
public LineBreakMode HeaderLineBreakMode { get; set; }
Property Value
Type |
---|
Microsoft.Maui.LineBreakMode |
HeaderPadding
Gets or sets the the inner padding of the column header in the specified SerializableDataGridColumn.
Declaration
public Thickness HeaderPadding { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Thickness |
HeaderText
Gets or sets the text that is displayed on the header cell of SerializableDataGridColumn.
Declaration
public string HeaderText { get; set; }
Property Value
Type |
---|
System.String |
HeaderTextAlignment
Gets or sets the alignment for the column header.
Declaration
public TextAlignment HeaderTextAlignment { get; set; }
Property Value
Type |
---|
Microsoft.Maui.TextAlignment |
LineBreakMode
Gets or sets the LineBreak modes for the SerializableDataGridColumn.
Declaration
public LineBreakMode LineBreakMode { get; set; }
Property Value
Type |
---|
Microsoft.Maui.LineBreakMode |
LoadUIView
Gets or sets a value indicating whether to load the UI element into the DataGridCell or draw the cell value on Android, iOS and MAC in SerializableDataGridColumn.
Declaration
public bool LoadUIView { get; set; }
Property Value
Type |
---|
System.Boolean |
MappingName
Gets or sets the name to map the data member in the underlying data object to SerializableDataGridColumn.
Declaration
public string MappingName { get; set; }
Property Value
Type |
---|
System.String |
MaximumWidth
Gets or sets the maximum width constraint of the SerializableDataGridColumn.
Declaration
public double MaximumWidth { get; set; }
Property Value
Type |
---|
System.Double |
MinimumWidth
Gets or sets the minimum width constraint of the SerializableDataGridColumn.
Declaration
public double MinimumWidth { get; set; }
Property Value
Type |
---|
System.Double |
UseBindingValue
Gets or sets a value that indicates whether the binding gets property value from column wrapper instead of reflecting value from the item properties.
Declaration
public bool UseBindingValue { get; set; }
Property Value
Type |
---|
System.Boolean |
Visible
Gets or sets a value that indicates whether SerializableDataGridColumn should be visible in the view.
Declaration
public bool Visible { get; set; }
Property Value
Type |
---|
System.Boolean |
Width
Gets or sets the width of SerializableDataGridColumn.
Declaration
public double Width { get; set; }
Property Value
Type |
---|
System.Double |
Methods
KnownTypes()
Gets the known column types during serialization and deserialization operation.
Declaration
public static Type[] KnownTypes()
Returns
Type | Description |
---|---|
System.Type[] | Returns the corresponding column type. |