The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

SpreadsheetViewOptions.ColumnHeaderHeight Property

Gets or sets the height of the column headers in pixels.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

[DefaultValue(0)]
public int ColumnHeaderHeight { get; set; }
<DefaultValue(0)>
Public Property ColumnHeaderHeight As Integer
[DefaultValue(0)]
public int ColumnHeaderHeight { get; set; }
<DefaultValue(0)>
Public Property ColumnHeaderHeight As Integer

Property Value

Type Default Description
Int32

0

An integer value that is the column header height in pixels.

Property Value

Type Default Description
Int32

0

An integer value that is the column header height in pixels.

Remarks

Use the ColumnHeaderHeight property to explicitly set the height of column headers in the SpreadsheetControl. You can also specify the width of row headers using the SpreadsheetViewOptions.RowHeaderWidth property. Use these properties along with custom draw events to customize the appearance of the SpreadsheetControl.

The image below shows the control with custom row and column headers.

SpreadsheetControl_CustomColumnRowHeaders

See Also