BCGControlBar Library for .NET
GalleryCommandObject Constructor(GalleryControl,GalleryGroup,Int32)




Gallery control.
Related Gallery group.

Zero-based index of the object's data in the related gallery group's data collection (images and strings).

For caption items this value must be -1.

Syntax
'Declaration
 
Public Function New( _
   ByVal gallery As GalleryControl, _
   ByVal group As GalleryGroup, _
   ByVal dataIndex As Integer _
)
'Usage
 
Dim gallery As GalleryControl
Dim group As GalleryGroup
Dim dataIndex As Integer
 
Dim instance As New GalleryCommandObject(gallery, group, dataIndex)
public GalleryCommandObject( 
   GalleryControl gallery,
   GalleryGroup group,
   int dataIndex
)
public: GalleryCommandObject( 
   GalleryControl* gallery,
   GalleryGroup* group,
   int dataIndex
)
public:
GalleryCommandObject( 
   GalleryControl^ gallery,
   GalleryGroup^ group,
   int dataIndex
)

Parameters

gallery
Gallery control.
group
Related Gallery group.
dataIndex

Zero-based index of the object's data in the related gallery group's data collection (images and strings).

For caption items this value must be -1.

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

Reference

GalleryCommandObject Class
GalleryCommandObject Members
Overload List

Send Feedback