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


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

    Property Value

    String containing the name of the parent style of this style
    Remarks

    If some properties in a NamedStyle object are not set, those properties are inherited from the parent style (NamedStyle object) when the properties are composed using the NamedStyleCollection Compose method.

    Example
    This example creates a new custom style and sets several of the style properties.
    See Also