BCGControlBar Library for .NET
SetNextCollapsedState Method (ToolbarButton)




if true, the ToolBarButton size will be less than previous size, otherwise, ToolBarButton size will be more than the previous size.
Sets the nearest collapsed state of the ToolbarButton located on the Ribbon Control.
Syntax
'Declaration
 
Public Overridable Sub SetNextCollapsedState( _
   ByVal isNext As Boolean _
) 
'Usage
 
Dim instance As ToolbarButton
Dim isNext As Boolean
 
instance.SetNextCollapsedState(isNext)
public virtual void SetNextCollapsedState( 
   bool isNext
)
public: virtual void SetNextCollapsedState( 
   bool isNext
) 
public:
virtual void SetNextCollapsedState( 
   bool isNext
) 

Parameters

isNext
if true, the ToolBarButton size will be less than previous size, otherwise, ToolBarButton size will be more than the previous size.
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

ToolbarButton Class
ToolbarButton Members

Send Feedback