Back to Devexpress

SpreadsheetViewOptions.RowHeaderWidth Property

officefileapi-devexpress-dot-xtraspreadsheet-dot-spreadsheetviewoptions-04d0d405.md

latest2.5 KB
Original Source

SpreadsheetViewOptions.RowHeaderWidth Property

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

Namespace : DevExpress.XtraSpreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

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

Property Value

TypeDefaultDescription
Int320

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath to RowHeaderWidth
SpreadsheetControlOptions

.View .RowHeaderWidth

|

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.

See Also

ColumnHeaderHeight

CustomDrawRowHeader

CustomDrawRowHeaderBackground

SpreadsheetViewOptions Class

SpreadsheetViewOptions Members

DevExpress.XtraSpreadsheet Namespace