DataGridTextColumn Class

Represents a column which contains cells with textual output.

Definition

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

Remarks

Textual output means data which is drawn in the form of text characters. This is usually a String, but it can also be a Int32 or Double, etc.

Constructors

DataGridTextColumn Creates an instance of DataGridTextColumn.

Properties

Alignment Gets or sets the cell item's Alignment inside a cell.
(Inherited from DataGridColumn)
AllowSorting Gets or sets a value that indicates whether sorting is enabled.
(Inherited from DataGridColumn)
AutoColumnWidth Gets or sets a value indicating whether DataGrid should automatically change the width of this column.
(Inherited from DataGridColumn)
DisposeFont Gets or sets a value indicating whether the DataGridTextColumn should dispose the Font property.
Font Gets or sets the Font used to draw cells in this column.
HeaderAlignment Gets or sets the alignment of the column header text.
(Inherited from DataGridColumn)
HeaderBackgroundColors Gets the background gradient of the column header.
(Inherited from DataGridColumn)
HeaderFont Gets or sets the font of the column header. Please take care of disposing the font, if it's not longer in use.
(Inherited from DataGridColumn)
HeaderFontColor Gets or sets the color of the HeaderFont.
(Inherited from DataGridColumn)
HeaderImage Gets or sets a PNG image displayed in the header of this column.
(Inherited from DataGridColumn)
HeaderSelectedBackgroundColors Gets the background gradient of the selected column header.
(Inherited from DataGridColumn)
HeaderSelectedBorderColor Gets or sets the border color of the selected column's header.
(Inherited from DataGridColumn)
HeaderSelectedFontColor Gets or sets the color of the HeaderFont.
(Inherited from DataGridColumn)
HeaderText Gets or sets the text of the column header.
(Inherited from DataGridColumn)
HeaderTextMargins Gets the margins of the column header text.
(Inherited from DataGridColumn)
MappingName Gets or sets the name of the data member to map the column style to.
(Inherited from DataGridColumn)
Margins Gets or sets a value that indicates whether sorting is enabled.
(Inherited from DataGridColumn)
NullText Gets or sets the text that is displayed when the column contains null.
(Inherited from DataGridColumn)
SelectionEnabled Enables or disbales the selection for the column.
(Inherited from DataGridColumn)
SortDirection Gets or sets the sort direction. The supported sorting types are defined in: ColumnSortDirection.
(Inherited from DataGridColumn)
ValueStringFormat Gets or sets the Value's string format. E.g. set "{0,0:0.0}%" and the result will be "50%" when the Value is 50. You can set String.Emtpy if you want to disable the string formatting. See Format(String, Object) method for more information.
Width Gets or sets the width of the column.
(Inherited from DataGridColumn)
WrapMode Gets or sets the text wrapping mode.

Methods

CreateCell Initializes a new instance of DataGridTextCell class.
(Overrides DataGridColumnCreateCell)
Dispose Disposes all resources used by this class.
(Inherited from DataGridColumn)
Dispose(Boolean) Disposes resources used by this class.
(Overrides DataGridColumnDispose(Boolean))
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Destructs this object by calling its Dispose(Boolean) method.
(Inherited from DataGridColumn)
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.
(Inherited from DataGridColumn)
ResetAlignment Sets the Alignment to the default value.
(Inherited from DataGridColumn)
ResetAllowSorting Sets the AllowSorting to the default value.
(Inherited from DataGridColumn)
ResetAutoColumnWidth Sets the AutoColumnWidth to the default value.
(Inherited from DataGridColumn)
ResetFont Sets the Font to the default value.
ResetHeaderAlignment Resets the HeaderAlignment property to its default value.
(Inherited from DataGridColumn)
ResetHeaderBackgroundColors Resets the HeaderBackgroundColors property to its default value;
(Inherited from DataGridColumn)
ResetHeaderFont Resets the HeaderFont property to its default value.
(Inherited from DataGridColumn)
ResetHeaderFontColor Resets the HeaderFontColor property to its default value.
(Inherited from DataGridColumn)
ResetHeaderImage Sets the HeaderImage to the default value.
(Inherited from DataGridColumn)
ResetHeaderSelectedBackgroundColors Resets the HeaderSelectedBackgroundColors property to its default value.
(Inherited from DataGridColumn)
ResetHeaderSelectedBorderColor Resets the HeaderSelectedBorderColor property to its default value.
(Inherited from DataGridColumn)
ResetHeaderSelectedFontColor Resets the HeaderSelectedFontColor property to its default value.
(Inherited from DataGridColumn)
ResetHeaderText Sets the HeaderText to the default value.
(Inherited from DataGridColumn)
ResetHeaderTextMargins Resets the HeaderTextMargins property to its default value.
(Inherited from DataGridColumn)
ResetMappingName Sets the MappingName to the default value.
(Inherited from DataGridColumn)
ResetMargins Sets the AllowSorting to the default value.
(Inherited from DataGridColumn)
ResetNullText Sets the NullText to the default value.
(Inherited from DataGridColumn)
ResetPropertyDescriptor Sets the PropertyDescriptor to the default value.
(Inherited from DataGridColumn)
ResetSelectionEnabled Sets the SelectionEnabled to the default value.
(Inherited from DataGridColumn)
ResetSortDirection Sets the SortDirection to the default value.
(Inherited from DataGridColumn)
ResetValueStringFormat Sets the ValueStringFormat to the default value.
ResetWidth Sets the Width to the default value.
(Inherited from DataGridColumn)
ResetWrapMode Sets the WrapMode to the default value.
ShouldSerializeAlignment Indicates whether the Alignment property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializeAllowSorting Indicates whether the AllowSorting property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializeAutoColumnWidth Indicates whether the AutoColumnWidth property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializeFont Indicates whether the Font property should be serialized by Visual Studio designer.
ShouldSerializeHeaderAlignment Indicates whether the HeaderAlignment property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializeHeaderBackgroundColors Indicates whether the HeaderBackgroundColors property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializeHeaderFont Indicates whether the HeaderFont property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializeHeaderFontColor Indicates whether the HeaderFontColor property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializeHeaderImage Indicates whether the HeaderImage property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializeHeaderSelectedBackgroundColors Indicates whether the HeaderSelectedBackgroundColors property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializeHeaderSelectedBorderColor Indicates whether the HeaderSelectedBorderColor property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializeHeaderSelectedFontColor Indicates whether the HeaderSelectedFontColor property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializeHeaderText Indicates whether the HeaderText property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializeHeaderTextMargins Indicates whether the HeaderTextMargins property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializeMappingName Indicates whether the MappingName property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializeMargins Indicates whether the AllowSorting property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializeNullText Indicates whether the NullText property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializePropertyDescriptor Indicates whether the PropertyDescriptor property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializeSelectionEnabled Indicates whether the SelectionEnabled property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializeSortDirection Indicates whether the SortDirection property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializeValueStringFormat Indicates whether the ValueStringFormat property should be serialized by Visual Studio designer.
ShouldSerializeWidth Indicates whether the Width property should be serialized by Visual Studio designer.
(Inherited from DataGridColumn)
ShouldSerializeWrapMode Indicates whether the WrapMode property should be serialized by Visual Studio designer.
ToString Returns a System.String that represents the current System.Object.
(Overrides ObjectToString)

Events

PropertyChanged Occurs when a property value changes.
(Inherited from DataGridColumn)

See Also