Spread Windows Forms 12.0 Product Documentation
DefaultStyleName Property (RowHeader)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > RowHeader Class : DefaultStyleName Property
Gets or sets the name of the default style for the row header.
Syntax
'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;}

Property Value

String containing the name of the default style for the header
Exceptions
ExceptionDescription
Specified style (NamedStyle object) could not be found in the collection
Example
This example checks to see if there are any DefaultStyleName object's associated with the row header.
Dim r As FarPoint.Win.Spread.RowHeader
r = FpSpread1.ActiveSheet.RowHeader
ListBox1.Items.Add(r.DefaultStyleName.Length)
FarPoint.Win.Spread.RowHeader r;
r = fpSpread1.ActiveSheet.RowHeader;
listBox1.Items.Add(r.DefaultStyleName.Length);
See Also

Reference

RowHeader Class
RowHeader Members
SheetView.DefaultStyleName Property