Visual Basic (Declaration) | |
---|---|
Public Property DefaultStyleName As String |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RowHeader Dim value As String instance.DefaultStyleName = value value = instance.DefaultStyleName |
C# | |
---|---|
public string DefaultStyleName {get; set;} |
Property Value
String containing the name of the default style for the headerException | Description |
---|---|
System.ArgumentException | Specified style (NamedStyle object) could not be found in the collection |
This example checks to see if there are any DefaultStyleName object's associated with the row header.
Visual Basic | Copy Code |
---|---|
Dim r As FarPoint.Win.Spread.RowHeader r = FpSpread1.ActiveSheet.RowHeader ListBox1.Items.Add(r.DefaultStyleName.Length) |
C# | Copy Code |
---|---|
FarPoint.Win.Spread.RowHeader r; r = fpSpread1.ActiveSheet.RowHeader; listBox1.Items.Add(r.DefaultStyleName.Length); |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2