BCGControlBar Library for .NET
SetRectangle(Point,Size) Method




The location of the ToolbarBaseControlButton to set.
The size of the ToolbarBaseControlButton to set.
Called by the framework to specify the size and location of the ToolbarBaseControlButton.
Syntax
'Declaration
 
Public Overloads Overrides Sub SetRectangle( _
   ByVal location As Point, _
   ByVal size As Size _
) 
'Usage
 
Dim instance As ToolbarBaseControlButton
Dim location As Point
Dim size As Size
 
instance.SetRectangle(location, size)
public override void SetRectangle( 
   Point location,
   Size size
)
public: void SetRectangle( 
   Point location,
   Size size
) override 
public:
void SetRectangle( 
   Point location,
   Size size
) override 

Parameters

location
The location of the ToolbarBaseControlButton to set.
size
The size of the ToolbarBaseControlButton to set.
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

ToolbarBaseControlButton Class
ToolbarBaseControlButton Members
Overload List
Base Implementation in SetRectangle(Point,Size)

Send Feedback