Bewerken

Share via


DataGrid.ColumnHeaderHeight Property

Definition

Gets or sets the height of the column headers row.

public:
 property double ColumnHeaderHeight { double get(); void set(double value); };
public double ColumnHeaderHeight { get; set; }
member this.ColumnHeaderHeight : double with get, set
Public Property ColumnHeaderHeight As Double

Property Value

The height of the column headers row, in device-independent units (1/96th inch per unit). The registered default is NaN. For more information about what can influence the value, see DependencyProperty.

Remarks

Set this property to NaN to make the size of the column header automatically adjust to fit its content.

Applies to