BCGControlBar Library for .NET
SetNextCollapsedState Method (ToolbarGalleryButton)




Specifies whether the collapsed mode is nex, or previos.
Sets the next or previous collapsed state. If the button displays the gallery in the Compact mode, the number of gallery columns is increased or reduced until the number of columns reaches its maximal and minimal values. When the number of columns exceeds the minimal value, the gallery button is turned into popup menu button (PopupMode becomes true).
Syntax
'Declaration
 
Public Overrides Sub SetNextCollapsedState( _
   ByVal isNext As Boolean _
) 
'Usage
 
Dim instance As ToolbarGalleryButton
Dim isNext As Boolean
 
instance.SetNextCollapsedState(isNext)
public override void SetNextCollapsedState( 
   bool isNext
)
public: void SetNextCollapsedState( 
   bool isNext
) override 
public:
void SetNextCollapsedState( 
   bool isNext
) override 

Parameters

isNext
Specifies whether the collapsed mode is nex, or previos.
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

ToolbarGalleryButton Class
ToolbarGalleryButton Members
Base Implementation in SetNextCollapsedState

Send Feedback