'Declaration Public Property DefaultStyleName As String
'Usage Dim instance As ColumnHeader Dim value As String instance.DefaultStyleName = value value = instance.DefaultStyleName
public string DefaultStyleName {get; set;}
'Declaration Public Property DefaultStyleName As String
'Usage Dim instance As ColumnHeader Dim value As String instance.DefaultStyleName = value value = instance.DefaultStyleName
public string DefaultStyleName {get; set;}
Exception | Description |
---|---|
System.ArgumentException | Specified style (NamedStyle object) could not be found in the collection |
This example creates a column header and a style for the spreadsheet. The background color in the style is set to yellow, and is then applied to the column header so all the column headers then have a yellow background.