BCGSoft.ControlBars Namespace > GalleryControl Class : Mode Property |
Sets the current Gallery control mode. It can be either "Full", or "Compact". In the Full mode the Gallery control displays group captions and displays a regular scroll bar at the right side. You can set the IsMenuMode flag only when the Gallery is in Full mode.
In the "Compact" mode the gallery is displayed as a "flat" palette, group captions are hidden and there are three special buttons at the right side of the gallery: two scroll buttons, and one button, which opens the same gallery in the Full mode.
'Declaration Public Property Mode As GalleryMode
'Usage Dim instance As GalleryControl Dim value As GalleryMode instance.Mode = value value = instance.Mode
public GalleryMode Mode {get; set;}
public: __property GalleryMode get_Mode(); public: __property void set_Mode( GalleryMode value );
public: property GalleryMode Mode { GalleryMode get(); void set ( GalleryMode value); }
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