DataGridColumn Class

Specifies the appearance, text formatting, and behavior of a DataGrid control column. This class is abstract.

Definition

Namespace: BeeMobile.DataGrid
Assembly: BeeMobile.DataGrid.NET48 (in BeeMobile.DataGrid.NET48.dll) Version: 4.8.1.19
C#
public abstract class DataGridColumn : INotifyPropertyChanged, 
	IDisposable
Inheritance
Object    DataGridColumn
Derived
Implements
INotifyPropertyChanged, IDisposable

Constructors

DataGridColumn In a derived class, initializes a new instance of the DataGridColumnStyle class.

Properties

Alignment Gets or sets the cell item's Alignment inside a cell.
AllowSorting Gets or sets a value that indicates whether sorting is enabled.
AutoColumnWidth Gets or sets a value indicating whether DataGrid should automatically change the width of this column.
HeaderAlignment Gets or sets the alignment of the column header text.
HeaderBackgroundColors Gets the background gradient of the column header.
HeaderFont Gets or sets the font of the column header. Please take care of disposing the font, if it's not longer in use.
HeaderFontColor Gets or sets the color of the HeaderFont.
HeaderImage Gets or sets a PNG image displayed in the header of this column.
HeaderSelectedBackgroundColors Gets the background gradient of the selected column header.
HeaderSelectedBorderColor Gets or sets the border color of the selected column's header.
HeaderSelectedFontColor Gets or sets the color of the HeaderFont.
HeaderText Gets or sets the text of the column header.
HeaderTextMargins Gets the margins of the column header text.
MappingName Gets or sets the name of the data member to map the column style to.
Margins Gets or sets a value that indicates whether sorting is enabled.
NullText Gets or sets the text that is displayed when the column contains null.
SelectionEnabled Enables or disbales the selection for the column.
SortDirection Gets or sets the sort direction. The supported sorting types are defined in: ColumnSortDirection.
Width Gets or sets the width of the column.

Methods

CreateCell Intializes an instance of DataGridCell class.
Dispose Disposes all resources used by this class.
Dispose(Boolean) Disposes resources used by this class.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Destructs this object by calling its Dispose(Boolean) method.
(Overrides ObjectFinalize)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnPropertyChanged Fires PropertyChanged event.
ResetAlignment Sets the Alignment to the default value.
ResetAllowSorting Sets the AllowSorting to the default value.
ResetAutoColumnWidth Sets the AutoColumnWidth to the default value.
ResetHeaderAlignment Resets the HeaderAlignment property to its default value.
ResetHeaderBackgroundColors Resets the HeaderBackgroundColors property to its default value;
ResetHeaderFont Resets the HeaderFont property to its default value.
ResetHeaderFontColor Resets the HeaderFontColor property to its default value.
ResetHeaderImage Sets the HeaderImage to the default value.
ResetHeaderSelectedBackgroundColors Resets the HeaderSelectedBackgroundColors property to its default value.
ResetHeaderSelectedBorderColor Resets the HeaderSelectedBorderColor property to its default value.
ResetHeaderSelectedFontColor Resets the HeaderSelectedFontColor property to its default value.
ResetHeaderText Sets the HeaderText to the default value.
ResetHeaderTextMargins Resets the HeaderTextMargins property to its default value.
ResetMappingName Sets the MappingName to the default value.
ResetMargins Sets the AllowSorting to the default value.
ResetNullText Sets the NullText to the default value.
ResetPropertyDescriptor Sets the PropertyDescriptor to the default value.
ResetSelectionEnabled Sets the SelectionEnabled to the default value.
ResetSortDirection Sets the SortDirection to the default value.
ResetWidth Sets the Width to the default value.
ShouldSerializeAlignment Indicates whether the Alignment property should be serialized by Visual Studio designer.
ShouldSerializeAllowSorting Indicates whether the AllowSorting property should be serialized by Visual Studio designer.
ShouldSerializeAutoColumnWidth Indicates whether the AutoColumnWidth property should be serialized by Visual Studio designer.
ShouldSerializeHeaderAlignment Indicates whether the HeaderAlignment property should be serialized by Visual Studio designer.
ShouldSerializeHeaderBackgroundColors Indicates whether the HeaderBackgroundColors property should be serialized by Visual Studio designer.
ShouldSerializeHeaderFont Indicates whether the HeaderFont property should be serialized by Visual Studio designer.
ShouldSerializeHeaderFontColor Indicates whether the HeaderFontColor property should be serialized by Visual Studio designer.
ShouldSerializeHeaderImage Indicates whether the HeaderImage property should be serialized by Visual Studio designer.
ShouldSerializeHeaderSelectedBackgroundColors Indicates whether the HeaderSelectedBackgroundColors property should be serialized by Visual Studio designer.
ShouldSerializeHeaderSelectedBorderColor Indicates whether the HeaderSelectedBorderColor property should be serialized by Visual Studio designer.
ShouldSerializeHeaderSelectedFontColor Indicates whether the HeaderSelectedFontColor property should be serialized by Visual Studio designer.
ShouldSerializeHeaderText Indicates whether the HeaderText property should be serialized by Visual Studio designer.
ShouldSerializeHeaderTextMargins Indicates whether the HeaderTextMargins property should be serialized by Visual Studio designer.
ShouldSerializeMappingName Indicates whether the MappingName property should be serialized by Visual Studio designer.
ShouldSerializeMargins Indicates whether the AllowSorting property should be serialized by Visual Studio designer.
ShouldSerializeNullText Indicates whether the NullText property should be serialized by Visual Studio designer.
ShouldSerializePropertyDescriptor Indicates whether the PropertyDescriptor property should be serialized by Visual Studio designer.
ShouldSerializeSelectionEnabled Indicates whether the SelectionEnabled property should be serialized by Visual Studio designer.
ShouldSerializeSortDirection Indicates whether the SortDirection property should be serialized by Visual Studio designer.
ShouldSerializeWidth Indicates whether the Width property should be serialized by Visual Studio designer.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

PropertyChanged Occurs when a property value changes.

See Also