'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 |
FarPoint.Win.Spread.ColumnHeader ch; FarPoint.Win.Spread.NamedStyle style = new FarPoint.Win.Spread.NamedStyle("ColumnHeader"); ch = fpSpread1.ActiveSheet.ColumnHeader; ch.RowCount = 3; style.BackColor = Color.Teal; fpSpread1.NamedStyles.Add(style); ch.DefaultStyleName = "ColumnHeader";
Dim ch As FarPoint.Win.Spread.ColumnHeader Dim style As New FarPoint.Win.Spread.NamedStyle("ColumnHeader") ch = fpSpread1.ActiveSheet.ColumnHeader ch.RowCount = 3 style.BackColor = Color.Teal fpSpread1.NamedStyles.Add(style) ch.DefaultStyleName = "ColumnHeader"