BCGControlBar Library for .NET
Stretch Method (ButtonGroupPanel)




Specifies the new width of the  ButtonGroupPanel on horizontally resizing and new heigth of the  ButtonGroupPanel  on vertically resizing.
Specifies the direction of the resizing of the ButtonGroupPanel.
Specifies if the resizing will be strict.
Changes the size of the toolbar to the specified value and adjusts the layout of the toolbar buttons on it.
Syntax
'Declaration
 
Public Overrides Sub Stretch( _
   ByVal newSize As Integer, _
   ByVal horz As Boolean, _
   ByVal strict As Boolean _
) 
'Usage
 
Dim instance As ButtonGroupPanel
Dim newSize As Integer
Dim horz As Boolean
Dim strict As Boolean
 
instance.Stretch(newSize, horz, strict)
public override void Stretch( 
   int newSize,
   bool horz,
   bool strict
)
public: void Stretch( 
   int newSize,
   bool horz,
   bool strict
) override 
public:
void Stretch( 
   int newSize,
   bool horz,
   bool strict
) override 

Parameters

newSize
Specifies the new width of the  ButtonGroupPanel on horizontally resizing and new heigth of the  ButtonGroupPanel  on vertically resizing.
horz
Specifies the direction of the resizing of the ButtonGroupPanel.
strict
Specifies if the resizing will be strict.
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

ButtonGroupPanel Class
ButtonGroupPanel Members
Base Implementation in Stretch

Send Feedback