Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / StyleInfo Class / Parent Property
Example


In This Topic
    Parent Property (StyleInfo)
    In This Topic
    Gets or sets the name of the parent NamedStyle object for the style.
    Syntax
    'Declaration
     
    
    Public Overridable Property Parent As String
    'Usage
     
    
    Dim instance As StyleInfo
    Dim value As String
     
    instance.Parent = value
     
    value = instance.Parent
    public virtual string Parent {get; set;}

    Property Value

    String containing the name of the parent style of this style
    Remarks
    The parent style is used to merge style properties in NamedStyleCollection.Compose.
    Example
    This example creates a StyleInfo object and adjusts the alignment of the text in the first cell. Whether the object is empty is returned to a list box, along with its Parent NamedStyle, if it has one.
    See Also