BCGControlBar Library for .NET
CanStretch Property (ToolbarButton)




Applied to combo box and edit box buttons, which placed on toolbars in StandAlone (non-dockable) mode. If true, the button will be automatically resized to take the rest of toolbar space. Can be only one button per toolbar.
Syntax
'Declaration
 
Public Property CanStretch As Boolean
'Usage
 
Dim instance As ToolbarButton
Dim value As Boolean
 
instance.CanStretch = value
 
value = instance.CanStretch
public bool CanStretch {get; set;}
public: __property bool get_CanStretch();
public: __property void set_CanStretch( 
   bool value
);
public:
property bool CanStretch {
   bool get();
   void set (    bool value);
}
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