System.Windows.Forms.DataGridColumnStyle: Property Members

The properties of System.Windows.Forms.DataGridColumnStyle are listed below. For a list of all members, see the DataGridColumnStyle Members list.

See Also: Inherited members from System.ComponentModel.Component

Public Properties

AlignmentHorizontalAlignment.

Gets or sets the alignment of text in a column.

[read-only]
DataGridTableStyleDataGridTableStyle.

Gets the System.Windows.Forms.DataGridTableStyle for the column.

[read-only]
HeaderAccessibleObjectAccessibleObject.

Gets the System.Windows.Forms.AccessibleObject for the column.

HeaderTextstring.

Gets or sets the text of the column header.

MappingNamestring.

Gets or sets the name of the data member to map the column style to.

NullTextstring.

Gets or sets the text that is displayed when the column contains null.

PropertyDescriptorSystem.ComponentModel.PropertyDescriptor.

Gets or sets the System.ComponentModel.PropertyDescriptor that determines the attributes of data displayed by the System.Windows.Forms.DataGridColumnStyle.

ReadOnlybool.

Gets or sets a value indicating whether the data in the column can be edited.

Widthint.

Gets or sets the width of the column.

Protected Properties

[read-only]
FontHeightint.

Gets the height of the column's font.