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


index
Index specifies where the event occurred, or -1 if the entire container was affected
itemCount
Number of items, or -1 if the entire container was affected
type
Type of change that occurred in the style container

Glossary Item Box

Creates new Changed event argument objects for the style container.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal index As Integer, _
   ByVal itemCount As Integer, _
   ByVal type As StyleContainerEventType _
)
Visual Basic (Usage)Copy Code
Dim index As Integer
Dim itemCount As Integer
Dim type As StyleContainerEventType
 
Dim instance As New StyleContainerEventArgs(index, itemCount, type)
C# 
public StyleContainerEventArgs( 
   int index,
   int itemCount,
   StyleContainerEventType type
)

Parameters

index
Index specifies where the event occurred, or -1 if the entire container was affected
itemCount
Number of items, or -1 if the entire container was affected
type
Type of change that occurred in the style container

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.