'Declaration Public Property DefaultStyleName As String
'Usage Dim instance As RowHeader 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 RowHeader 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.Web.Spread.RowHeader rhdr; FarPoint.Web.Spread.NamedStyle mnstyle = new FarPoint.Web.Spread.NamedStyle(); mnstyle.Name = "fpstyle"; mnstyle.BackColor = Color.Yellow; FpSpread1.NamedStyles.Add(mnstyle); rhdr = FpSpread1.ActiveSheetView.RowHeader; rhdr.DefaultStyleName = mnstyle.Name;
Dim rhdr As FarPoint.Web.Spread.RowHeader Dim mnstyle As New FarPoint.Web.Spread.NamedStyle() mnstyle.Name = "fpstyle" mnstyle.BackColor = Color.Yellow FpSpread1.NamedStyles.Add(mnstyle) rhdr = FpSpread1.ActiveSheetView.RowHeader rhdr.DefaultStyleName = mnstyle.Name