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


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

    Parameters

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