| Visual Basic (Declaration) | |
|---|---|
Public Property RowHeaderAutoText As HeaderAutoText | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public HeaderAutoText RowHeaderAutoText {get; set;} | |
Return Value
HeaderAutoText setting that determines what to display in the row header| Exception | Description |
|---|---|
| InvalidEnumArgumentException | Specified header setting is not valid; must be one of the HeaderAutoText enumeration settings |
This example sets up a number of column and row headers for the spreadsheet and changes the location of the header text and its type.
| C# | Copy Code |
|---|---|
fpSpread1.ActiveSheet.ColumnHeader.RowCount = 3; | |
| Visual Basic | Copy Code |
|---|---|
FpSpread1.ActiveSheet.ColumnHeader.RowCount = 3 | |
The automatic text is the text automatically assigned to header cells by the component. Use this property to change the automatic text to blank or to letters.
This property is equivalent to the RowHeader.AutoText property.
If your header has multiple row header columns, you can specify which header column displays the automatic text by setting the RowHeaderAutoTextIndex property (or the RowHeader.AutoTextIndex property).
Reference
SheetView ClassSheetView Members
RowHeaderAutoTextIndex Property