DataGridViewColumnHeaderCell
Wisej.Web.DataGridViewColumnHeaderCell
Last updated
Wisej.Web.DataGridViewColumnHeaderCell
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents a column header in a DataGridView control.
String: This property is not relevant for this class.
SortOrder: Returns or sets a value indicating which sort glyph is displayed.
Throws:
InvalidOperationException When setting this property, the value of either the OwningColumn property or the DataGridView property of the cell is null. or When changing the value of this property, the specified value is not None and the value of the SortMode property of the owning column is NotSortable.
Returns the style applied to the column header cell.
Parameter | Type | Description |
---|---|---|
includeVisualProperties | true to include inherited visual properties; otherwise, false to include only formatting properties. |
Returns: DataGridViewCellStyle. A DataGridViewCellStyle that includes the style of the column header cell and the style inherited from the DataGridView.
Throws:
InvalidOperationException The cell has no associated DataGridView.