Export (0) Print
Expand All

DataGrid.ColumnHeaderHeight Property

Gets or sets the height of the column headers row.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)

'Declaration
Public Property ColumnHeaderHeight As Double
<sdk:DataGrid ColumnHeaderHeight="double"/>

Property Value

Type: System.Double
The height of the column headers row in pixels. The default is Double.NaN.

ExceptionCondition
ArgumentOutOfRangeException

When setting this property, the specified value is less than 4 or greater than 32768.

Dependency property identifier field: ColumnHeaderHeightProperty

By default, the column header will automatically adjust its size to fit its content.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft