BCGSoft.ControlBars Namespace > GalleryCommandObject Class > GalleryCommandObject Constructor : GalleryCommandObject Constructor(GalleryControl,GalleryGroup,Int32) |
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.
'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 )
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.
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