Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataGridColumnStyle Properties

DataGridColumnStyle Properties

The DataGridColumnStyle type exposes the following members.

  Name Description
Public property Alignment Gets or sets the alignment of text in a column.
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Public property DataGridTableStyle Gets the DataGridTableStyle for the column.
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Protected property Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Protected property FontHeight Gets the height of the column's font.
Public property HeaderAccessibleObject Infrastructure. Gets the AccessibleObject for the column.
Public property HeaderText Gets or sets the text of the column header.
Public property MappingName Gets or sets the name of the data member to map the column style to.
Public property NullText Gets or sets the text that is displayed when the column contains null.
Public property PropertyDescriptor Gets or sets the PropertyDescriptor that determines the attributes of data displayed by the DataGridColumnStyle.
Public property ReadOnly Gets or sets a value indicating whether the data in the column can be edited.
Public property Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property Width Gets or sets the width of the column.
© 2015 Microsoft