Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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