Class SerializableGridColumn
Represents a class that is used to serialize and deserialize GridColumn property settings.
Inheritance
Namespace: Syncfusion.UI.Xaml.DataGrid.Serialization
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class SerializableGridColumn : Object
Constructors
SerializableGridColumn()
Declaration
public SerializableGridColumn()
Properties
AllowBlankFilters
Get or sets a value that indicates whether the blank values are allowed for filtering in SerializableGridColumn.
Declaration
public bool AllowBlankFilters { get; set; }
Property Value
Type |
---|
System.Boolean |
AllowDragging
Gets or sets a value that indicates whether the user can reposition the SerializableGridColumn in to new position.
Declaration
public Nullable<bool> AllowDragging { get; set; }
Property Value
Type |
---|
System.Nullable<System.Boolean> |
AllowEditing
Gets or sets a value that indicates whether the editing is enabled in SerializableGridColumn.
Declaration
public Nullable<bool> AllowEditing { get; set; }
Property Value
Type |
---|
System.Nullable<System.Boolean> |
AllowFiltering
Gets or sets a value that indicates whether the filtering is enabled in the SerializableGridColumn .
Declaration
public Nullable<bool> AllowFiltering { get; set; }
Property Value
Type |
---|
System.Nullable<System.Boolean> |
AllowFocus
Gets or sets a value that indicates whether the SerializableGridColumn receives focus or not.
Declaration
public bool AllowFocus { get; set; }
Property Value
Type |
---|
System.Boolean |
AllowGrouping
Gets or sets a value that indicates whether the grouping is enabled in SerializableGridColumn.
Declaration
public Nullable<bool> AllowGrouping { get; set; }
Property Value
Type |
---|
System.Nullable<System.Boolean> |
AllowResizing
Gets or sets a value that indicates whether the resizing is enabled in SerializableGridColumn.
Declaration
public Nullable<bool> AllowResizing { get; set; }
Property Value
Type |
---|
System.Nullable<System.Boolean> |
AllowSorting
Gets or sets a value that indicates whether the user can sort the data by clicking on its header cell of SerializableGridColumn .
Declaration
public Nullable<bool> AllowSorting { get; set; }
Property Value
Type |
---|
System.Nullable<System.Boolean> |
ColumnFilter
Gets or sets a value that decides whether to filter based on display value or based on MappingName.
Declaration
public ColumnFilter ColumnFilter { get; set; }
Property Value
Type |
---|
ColumnFilter |
ColumnMemberType
Gets or sets the member type to load the appropriate AdvancedFilterType to AdvancedFilterControl .
Declaration
public Type ColumnMemberType { get; set; }
Property Value
Type |
---|
System.Type |
ColumnWidthMode
Gets or sets the value that indicates how the SerializableGridColumn width is determined.
Declaration
public Nullable<ColumnWidthMode> ColumnWidthMode { get; set; }
Property Value
Type |
---|
System.Nullable<ColumnWidthMode> |
DataValidationMode
Gets or sets a value that indicates whether the user can validate their input either in display or when the cell lost its focus.
Declaration
public GridValidationMode DataValidationMode { get; set; }
Property Value
Type |
---|
GridValidationMode |
FilteredFrom
Gets a value that determines whether the SerializableGridColumn is filtered either from excel or advanced filter type.
Declaration
public FilteredFrom FilteredFrom { get; set; }
Property Value
Type |
---|
FilteredFrom |
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 a value which denotes the Editor which have to be load in corresponding FilterRowCell.
Declaration
public string FilterRowEditorType { get; set; }
Property Value
Type |
---|
System.String |
FilterRowOptionsVisibility
Gets or sets a value that indicates whether the FilterRowOptions button is visible in the GridFilterRowCell.
Declaration
public Visibility FilterRowOptionsVisibility { get; set; }
Property Value
Type |
---|
Microsoft.UI.Xaml.Visibility |
FilterRowText
Gets or sets filtered value of the SerializableGridColumn where the filtering has been applied through FilterRow.
Declaration
public object FilterRowText { get; set; }
Property Value
Type |
---|
System.Object |
HeaderText
Gets or sets the text that is displayed on the header cell of SerializableGridColumn.
Declaration
public string HeaderText { get; set; }
Property Value
Type |
---|
System.String |
HorizontalHeaderContentAlignment
Gets or sets the horizontal alignment for the header content of the SerializableGridColumn.
Declaration
public HorizontalAlignment HorizontalHeaderContentAlignment { get; set; }
Property Value
Type |
---|
Microsoft.UI.Xaml.HorizontalAlignment |
ImmediateUpdateColumnFilter
Gets or sets a value that indicates whether the data is automatically filtered as soon as an user selects the value from the filter popup in SerializableGridColumn.
Declaration
public bool ImmediateUpdateColumnFilter { get; set; }
Property Value
Type |
---|
System.Boolean |
IsAutoGenerated
Gets a value that determines whether the column is generated automatically.
Declaration
public bool IsAutoGenerated { get; set; }
Property Value
Type |
---|
System.Boolean |
IsCaseSensitiveFilterRow
Gets or sets value that indicates whether the case sensitive filtering is enabled on FilterRowCell of a SerializableGridColumn.
Declaration
public bool IsCaseSensitiveFilterRow { get; set; }
Property Value
Type |
---|
System.Boolean |
IsHidden
Gets or sets a value that indicates whether the SerializableGridColumn is hidden from the view.
Declaration
public bool IsHidden { get; set; }
Property Value
Type |
---|
System.Boolean |
MappingName
Gets or sets the name to map the data member in the underlying data object to SerializableGridColumn .
Declaration
public string MappingName { get; set; }
Property Value
Type |
---|
System.String |
MaximumWidth
Gets or sets the maximum width constraint of the SerializableGridColumn.
Declaration
public double MaximumWidth { get; set; }
Property Value
Type |
---|
System.Double |
MinimumWidth
Gets or sets the minimum width constraint of the SerializableGridColumn.
Declaration
public double MinimumWidth { get; set; }
Property Value
Type |
---|
System.Double |
Padding
Gets or sets the space between the edge of cell and its content with in the specified SerializableGridColumn.
Declaration
public Thickness Padding { get; set; }
Property Value
Type |
---|
Microsoft.UI.Xaml.Thickness |
SetCellBoundToolTip
Gets or sets a value that indicates whether the data context of ToolTipTemplate is Syncfusion.UI.Xaml.DataGrid.Renderers.DataContextHelper instead of Record./>
Declaration
public bool SetCellBoundToolTip { get; set; }
Property Value
Type |
---|
System.Boolean |
SetCellBoundValue
Gets or sets a value that indicates whether the data context of CellTemplate or EditTemplate is Syncfusion.UI.Xaml.DataGrid.Renderers.DataContextHelper instead of Record./>
Declaration
public bool SetCellBoundValue { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowHeaderToolTip
Gets or sets value that indicates whether the tool tip should be displayed being mouse hovered on the header cell of column.
Declaration
public bool ShowHeaderToolTip { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowToolTip
Gets or sets a value that indicates whether the tool tip is displayed on the column being mouse hovered on it.
Declaration
public bool ShowToolTip { get; set; }
Property Value
Type |
---|
System.Boolean |
TextAlignment
Gets or sets the horizontal alignment property for the text.
Declaration
public TextAlignment TextAlignment { get; set; }
Property Value
Type |
---|
Microsoft.UI.Xaml.TextAlignment |
UpdateTrigger
Gets or sets the timing of binding source updates in the column.
Declaration
public UpdateSourceTrigger UpdateTrigger { get; set; }
Property Value
Type |
---|
Microsoft.UI.Xaml.Data.UpdateSourceTrigger |
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 |
Width
Gets or sets the width of SerializableGridColumn.
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. |