| Visual Basic (Declaration) | |
|---|---|
Public Property DefaultStyleName As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public string DefaultStyleName {get; set;} | |
Return Value
String containing the name of the default style for the header| Exception | Description |
|---|---|
| ArgumentException | Specified style (NamedStyle object) could not be found in the collection |
This example sets the background color of all the columns in the column header, based on the DefaultStyleName.
| C# | Copy Code |
|---|---|
FarPoint.Win.Spread.ColumnHeader ch; | |
| Visual Basic | Copy Code |
|---|---|
Dim ch As FarPoint.Win.Spread.ColumnHeader | |