Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Column Class / ParentStyleName Property
Example


In This Topic
    ParentStyleName Property (Column)
    In This Topic
    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