Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / NamedStyle Class / NamedStyle Constructor / NamedStyle Constructor(String,String)
Name of the new NamedStyle object
Parent of the new NamedStyle object
Example


In This Topic
    NamedStyle Constructor(String,String)
    In This Topic
    Creates a custom style (NamedStyle object) with the specified name and parent.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal name As String, _
       ByVal parentName As String _
    )
    'Usage
     
    Dim name As String
    Dim parentName As String
     
    Dim instance As New NamedStyle(name, parentName)
    public NamedStyle( 
       string name,
       string parentName
    )

    Parameters

    name
    Name of the new NamedStyle object
    parentName
    Parent of the new NamedStyle object
    Example
    This example creates a new custom style.
    See Also