Spread Windows Forms 12.0 Product Documentation
ParentStyleName Property (Column)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Column Class : ParentStyleName Property
Gets or sets the name of the parent style from which style properties are inherited for this column.
Syntax
'Declaration
 
Public Property ParentStyleName As String
'Usage
 
Dim instance As Column
Dim value As String
 
instance.ParentStyleName = value
 
value = instance.ParentStyleName
public string ParentStyleName {get; set;}

Property Value

String containing the name of the parent style
Example
This example specifies the parent style to use for the column.
FarPoint.Win.Spread.Column col;
col = fpSpread1.ActiveSheet.Columns[0];
col.ParentStyleName = "DataAreaDefault";
Dim col As FarPoint.Win.Spread.Column
col = fpSpread1.ActiveSheet.Columns(0)
col.ParentStyleName = "DataAreaDefault"
See Also

Reference

Column Class
Column Members