Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / NamedStyleCollectionEventArgs Class / NamedStyleCollectionEventArgs Constructor
Type of event to occur
Old style, or null if not applicable
New style, or null if not applicable


In This Topic
    NamedStyleCollectionEventArgs Constructor
    In This Topic
    Initializes a new NamedStyleCollectionEventArgs object with the specified type and styles.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal type As NamedStyleCollectionEventType, _
       ByVal oldstyle As NamedStyle, _
       ByVal newstyle As NamedStyle _
    )
    'Usage
     
    
    Dim type As NamedStyleCollectionEventType
    Dim oldstyle As NamedStyle
    Dim newstyle As NamedStyle
     
    Dim instance As New NamedStyleCollectionEventArgs(type, oldstyle, newstyle)
    public NamedStyleCollectionEventArgs( 
       NamedStyleCollectionEventType type,
       NamedStyle oldstyle,
       NamedStyle newstyle
    )

    Parameters

    type
    Type of event to occur
    oldstyle
    Old style, or null if not applicable
    newstyle
    New style, or null if not applicable
    See Also