DataGrid.ColumnHeaderHeight Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.