Skip to main content
A newer version of this page is available. .

TextColumn Members

A grid column used to display and edit text values.

Constructors

Name Description
TextColumn() Initializes a new instance of the TextColumn class with default settings.

Fields

Name Description
AllowSortProperty static Identifies the GridColumn.AllowSort bindable property. Inherited from GridColumn.
CaptionProperty static Identifies the GridColumn.Caption bindable property. Inherited from GridColumn.
DisplayFormatProperty static Identifies the GridColumn.DisplayFormat bindable property. Inherited from GridColumn.
EditFormCaptionProperty static Identifies the GridColumn.EditFormCaption bindable property. Inherited from GridColumn.
FieldNameProperty static Identifies the GridColumn.FieldName bindable property. Inherited from GridColumn.
FixedStyleProperty static Identifies the GridColumn.FixedStyle bindable property. Inherited from GridColumn.
GroupCaptionDisplayFormatProperty static Identifies the GridColumn.GroupCaptionDisplayFormat bindable property. Inherited from GridColumn.
GroupCaptionTemplateProperty static Identifies the GridColumn.GroupCaptionTemplate bindable property. Inherited from GridColumn.
GroupIntervalProperty static Identifies the GridColumn.GroupInterval bindable property. Inherited from GridColumn.
HeaderCaptionLineBreakModeProperty static Identifies the GridColumn.HeaderCaptionLineBreakMode bindable property. Inherited from GridColumn.
HeaderContentTemplateProperty static Identifies the GridColumn.HeaderContentTemplate bindable property. Inherited from GridColumn.
HorizontalContentAlignmentProperty static Identifies the GridColumn.HorizontalContentAlignment bindable property. Inherited from GridColumn.
IsGroupedProperty static Identifies the GridColumn.IsGrouped bindable property. Inherited from GridColumn.
IsReadOnlyProperty static Identifies the GridColumn.IsReadOnly bindable property. Inherited from GridColumn.
IsVisibleProperty static Identifies the GridColumn.IsVisible bindable property. Inherited from GridColumn.
LineBreakModeProperty static Identifies the DataGridView.GroupCaptionTemplate bindable property.
MaxWidthProperty static Identifies the GridColumn.MaxWidth bindable property. Inherited from GridColumn.
MinWidthProperty static Identifies the GridColumn.MinWidth bindable property. Inherited from GridColumn.
SortIndexProperty static Identifies the GridColumn.SortIndex bindable property. Inherited from GridColumn.
SortModeProperty static Identifies the GridColumn.SortMode bindable property. Inherited from GridColumn.
SortOrderProperty static Identifies the GridColumn.SortOrder bindable property. Inherited from GridColumn.
TotalSummaryTemplateProperty static Identifies the GridColumn.TotalSummaryTemplate bindable property. Inherited from GridColumn.
UnboundExpressionProperty static Identifies the GridColumn.UnboundExpression bindable property. Inherited from GridColumn.
UnboundTypeProperty static Identifies the GridColumn.UnboundType bindable property. Inherited from GridColumn.
VerticalContentAlignmentProperty static Identifies the GridColumn.VerticalContentAlignment bindable property. Inherited from GridColumn.
WidthProperty static Identifies the GridColumn.Width bindable property. Inherited from GridColumn.

Properties

Name Description
ActualCaption Gets the column caption as it is displayed in a column header. Inherited from GridColumn.
AllowSort Specifies whether end users can sort data by the column. Inherited from GridColumn.
Caption Gets or sets the caption displayed in the column header. Inherited from GridColumn.
DisplayFormat Gets or sets the pattern used to format cell values of the column. Inherited from GridColumn.
EditFormCaption Specifies the caption of the editor associated with the current column in the edit form. Inherited from GridColumn.
FieldName Gets or sets the name of the data source’s field associated with the grid column, or serves as an identifier for unbound columns. Inherited from GridColumn.
FixedStyle Gets or sets whether a column is fixed. Inherited from GridColumn.
GroupCaptionDisplayFormat Gets or sets the pattern used to construct group row captions. Inherited from GridColumn.
GroupCaptionTemplate Gets or sets the template that defines the visual representation of a group row caption. Inherited from GridColumn.
GroupInterval Gets or sets how data rows are combined into groups. Inherited from GridColumn.
HeaderCaptionLineBreakMode Specifies how to handle the caption text if it cannot fit on one line. Inherited from GridColumn.
HeaderContentTemplate Gets or sets the template that defines the visual representation of the column header. Inherited from GridColumn.
HorizontalContentAlignment Gets or sets the horizontal alignment of the column’s content. Inherited from GridColumn.
IsGrouped Gets or sets whether the grid’s data is grouped by the current column. Inherited from GridColumn.
IsReadOnly Gets or sets whether users are allowed to change cell values in the column. Inherited from GridColumn.
IsUnbound Gets whether the column is unbound. Inherited from GridColumn.
IsVisible Gets or sets whether the column is visible in the grid. Inherited from GridColumn.
LineBreakMode Specifies how the grid handles the text that cannot fit on one line within a cell.
MaxWidth Gets or sets the column’s maximum width. Inherited from GridColumn.
MinWidth Gets or sets the column’s minimum width. Inherited from GridColumn.
SortIndex Gets or sets the column’s position among sorted columns. Inherited from GridColumn.
SortMode Specifies whether the grid should sort or group data by column values or display text. Inherited from GridColumn.
SortOrder Gets or sets the column’s sort order. Inherited from GridColumn.
TotalSummaryTemplate Gets or sets the template that defines the visual representation of the column’s total summary. Inherited from GridColumn.
UnboundExpression Gets or sets an expression used to calculate values for the unbound column. Inherited from GridColumn.
UnboundType Gets or sets whether the column is unbound, and the type of data the unbound column stores. Inherited from GridColumn.
VerticalContentAlignment Gets or sets the vertical alignment of the column’s content. Inherited from GridColumn.
Width Gets or sets the column’s width. Inherited from GridColumn.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also