BCGControlBar Library for .NET
SelectedCommandID Property




Indwex, or command ID, of the currently selected item. Usually it's a zero-based index of the item in the flat ItemCollection. The caption items also are taken into account, therefore if the user has selected the first selectable item in the gallery, its indez will be 1 (index of the caption item is 0). This applies to the Compact mode (when caption items are not displayed) as well.
Syntax
'Declaration
 
Public Property SelectedCommandID As Integer
'Usage
 
Dim instance As GalleryControl
Dim value As Integer
 
instance.SelectedCommandID = value
 
value = instance.SelectedCommandID
public int SelectedCommandID {get; set;}
public: __property int get_SelectedCommandID();
public: __property void set_SelectedCommandID( 
   int value
);
public:
property int SelectedCommandID {
   int get();
   void set (    int value);
}
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

GalleryControl Class
GalleryControl Members

Send Feedback