Spread Windows Forms 7.0 Product Documentation
NamedStyleCollectionEventArgs Constructor
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > NamedStyleCollectionEventArgs Class : NamedStyleCollectionEventArgs Constructor


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

Glossary Item Box

Initializes a new NamedStyleCollectionEventArgs object with the specified type and styles.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal type As NamedStyleCollectionEventType, _
   ByVal oldstyle As NamedStyle, _
   ByVal newstyle As NamedStyle _
)
Visual Basic (Usage)Copy Code
Dim type As NamedStyleCollectionEventType
Dim oldstyle As NamedStyle
Dim newstyle As NamedStyle
 
Dim instance As New NamedStyleCollectionEventArgs(type, oldstyle, newstyle)
C# 
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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.