Class SerializableGridColumn
Represents a class that is used to serialize and deserialize GridColumn property settings.
Inheritance
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Serialization
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class SerializableGridColumn
Constructors
SerializableGridColumn()
Declaration
public SerializableGridColumn()
Properties
AdvancedFilterType
Gets or sets the filter pop up mode for the SerializableGridColumn.
Declaration
public AdvancedFilterType AdvancedFilterType { get; set; }
Property Value
Type |
---|
AdvancedFilterType |
AllowBlankFilters
Gets or sets a value indicating whether the Blank filter option can be enabled for the filter pop up.
Declaration
public bool AllowBlankFilters { get; set; }
Property Value
Type |
---|
System.Boolean |
AllowDragging
Gets or sets a value indicating whether the user can rearrange the columns.
Declaration
public bool AllowDragging { get; set; }
Property Value
Type |
---|
System.Boolean |
AllowEditing
Gets or sets a value indicating whether editing is allowed for the column or not.
Declaration
public bool AllowEditing { get; set; }
Property Value
Type |
---|
System.Boolean |
AllowFiltering
Gets or sets a value indicating whether the UI level filtering can be enabled for a column.
Declaration
public bool AllowFiltering { get; set; }
Property Value
Type |
---|
System.Boolean |
AllowFocus
Gets or sets a value indicating whether the focus can be enabled for a column.
Declaration
public bool AllowFocus { get; set; }
Property Value
Type |
---|
System.Boolean |
AllowGrouping
Gets or sets a value indicating whether the user can drag and drop the column to GroupDropArea.
Declaration
public bool AllowGrouping { get; set; }
Property Value
Type |
---|
System.Boolean |
AllowHeaderTextWrapping
Gets or sets a value indicating whether the header cell display text should be wrapped or not when text length exceeds cell rectangle.
Declaration
public bool AllowHeaderTextWrapping { get; set; }
Property Value
Type |
---|
System.Boolean |
AllowResizing
Gets or sets a value indicating whether the column can be resized by using the resizing cursor.
Declaration
public bool AllowResizing { get; set; }
Property Value
Type |
---|
System.Boolean |
AllowSorting
Gets or sets a value indicating whether the user can sort the data by clicking on its header cell of column.
Declaration
public bool AllowSorting { get; set; }
Property Value
Type |
---|
System.Boolean |
AllowTextWrapping
Gets or sets a value indicating whether the cell display text should be wrapped or not when text length exceeds cell rectangle.
Declaration
public bool AllowTextWrapping { get; set; }
Property Value
Type |
---|
System.Boolean |
AutoSizeColumnsMode
Gets or sets the value indicating how the column widths are determined.
Declaration
public AutoSizeColumnsMode AutoSizeColumnsMode { get; set; }
Property Value
Type |
---|
AutoSizeColumnsMode |
CellStyle
Gets or sets the cell style of the column.
Declaration
public CellStyleInfo CellStyle { get; set; }
Property Value
Type |
---|
CellStyleInfo |
ColumnMemberType
Gets or sets the member type to load the appropriate filter type to the FilterControl.
Declaration
public Type ColumnMemberType { get; set; }
Property Value
Type |
---|
System.Type |
DataGrid
Gets or sets the reference of the SfDataGrid control.
Declaration
public static SfDataGrid DataGrid { get; set; }
Property Value
Type |
---|
SfDataGrid |
EnableCaseSensitiveFilterRow
Gets or sets a value indicating whether the case sensitive filter row can be enabled for the column.
Declaration
public bool EnableCaseSensitiveFilterRow { get; set; }
Property Value
Type |
---|
System.Boolean |
FilterBehavior
Gets or sets the filter behavior for the column.
Declaration
public FilterBehavior FilterBehavior { get; set; }
Property Value
Type |
---|
FilterBehavior |
FilterMode
Gets or sets a value that decides whether to filter based on display value or actual value.
Declaration
public ColumnFilter FilterMode { get; set; }
Property Value
Type |
---|
ColumnFilter |
FilterPopupMode
Gets or sets the filter pop up mode for the column.
Declaration
public FilterPopupMode FilterPopupMode { get; set; }
Property Value
Type |
---|
FilterPopupMode |
FilterRowCondition
Gets or sets a value that decides the default FilterRowCondition that have to be filter while typing in corresponding FilterRow cell.
Declaration
public FilterRowCondition FilterRowCondition { get; set; }
Property Value
Type |
---|
FilterRowCondition |
FilterRowEditorType
Gets or sets the Filter row editor type for the column.
Declaration
public string FilterRowEditorType { get; set; }
Property Value
Type |
---|
System.String |
FilterRowText
Gets or sets the filter row text for the corresponding column.
Declaration
public object FilterRowText { get; set; }
Property Value
Type |
---|
System.Object |
Format
Gets or sets the format pattern string for a column. The composite format pattern string also can be provided.
Declaration
public string Format { get; set; }
Property Value
Type |
---|
System.String |
FormatProvider
Gets or sets the custom format provider that decides how cell values should be formatted.
Declaration
public IDataGridFormatProvider FormatProvider { get; set; }
Property Value
Type |
---|
IDataGridFormatProvider |
GridValidationMode
Gets or sets a value indicating the validation mode of the column.
Declaration
public GridValidationMode GridValidationMode { get; set; }
Property Value
Type |
---|
GridValidationMode |
GroupMode
Gets or sets a value that decides whether grouping is processed based on display value or cell value of a column.
Declaration
public DataReflectionMode GroupMode { get; set; }
Property Value
Type |
---|
DataReflectionMode |
HeaderStyle
Gets or sets the header style of the column.
Declaration
public HeaderStyleInfo HeaderStyle { get; set; }
Property Value
Type |
---|
HeaderStyleInfo |
HeaderText
Gets or sets the header text of the column.
Declaration
public string HeaderText { get; set; }
Property Value
Type |
---|
System.String |
ImmediateUpdateColumnFilter
Gets or sets a value indicating whether the data is automatically filtered as soon as an user selects or types value in the filter pop-up of column.
Declaration
public bool ImmediateUpdateColumnFilter { get; set; }
Property Value
Type |
---|
System.Boolean |
MappingName
Gets or sets the mapping name of the column.
Declaration
public string MappingName { get; set; }
Property Value
Type |
---|
System.String |
MaximumWidth
Gets or sets the maximum width of the column.
Declaration
public double MaximumWidth { get; set; }
Property Value
Type |
---|
System.Double |
MinimumWidth
Gets or sets the minimum width of the column.
Declaration
public double MinimumWidth { get; set; }
Property Value
Type |
---|
System.Double |
NullDisplayText
Gets or sets a text to be displayed instead of the null or empty text in the cells of a column.
Declaration
public string NullDisplayText { get; set; }
Property Value
Type |
---|
System.String |
ShowFilterRowOptions
Gets or sets a value indicating whether the FilterRowOptions can be enabled or not.
Declaration
public bool ShowFilterRowOptions { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowHeaderToolTip
Gets or sets a value indicating whether the tooltip should be displayed when mouse hovered on the header cell of the column.
Declaration
public bool ShowHeaderToolTip { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowToolTip
Gets or sets a value indicating whether the tooltip should be displayed when mouse hovered on cells of the Column.
Declaration
public bool ShowToolTip { get; set; }
Property Value
Type |
---|
System.Boolean |
SortMode
Gets or sets a value that decides whether sorting is processed based on display value or cell value of a column.
Declaration
public DataReflectionMode SortMode { get; set; }
Property Value
Type |
---|
DataReflectionMode |
TextTrimming
Gets or sets a value that indicates how text trimmed when it exceeds the edges of the cell text rectangle.This is applicable also for header of a column.
Declaration
public StringTrimming TextTrimming { get; set; }
Property Value
Type |
---|
System.Drawing.StringTrimming |
Visible
Gets or sets a value indicating whether the column can be visible.
Declaration
public bool Visible { get; set; }
Property Value
Type |
---|
System.Boolean |
Width
Gets or sets the width of the column.
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. |