BCGControlBar Library for .NET
Stretch Method (Toolbar)




Specifies the new width of the toolbar on horizontally resizing and new heigth of the toolbar  on  vertically resizing.
Specifies the direction of the resizing of the toolbar.
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 Toolbar
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 toolbar on horizontally resizing and new heigth of the toolbar  on  vertically resizing.
horz
Specifies the direction of the resizing of the toolbar.
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

Toolbar Class
Toolbar Members
Base Implementation in Stretch

Send Feedback