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.RowHeaderWidth Property

Gets or sets the width of the row headers in pixels.

Namespace: DevExpress.XtraSpreadsheet

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

Declaration

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

Property Value

Type Default Description
Int32

0

An integer value that is the row header width in pixels.

Property Value

Type Default Description
Int32

0

An integer value that is the row header width in pixels.

Remarks

Use the RowHeaderWidth property to explicitly set the width of row headers in the SpreadsheetControl. You can also specify the height of column headers using the SpreadsheetViewOptions.ColumnHeaderHeight 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