BCGControlBar Library for .NET
GetDefaultSize Method




Returns the default size of the button. The width of the button is equal to the column width of the toolbar and height depends on the location of the button image. Called by the framework to calculate the size of the button.

Syntax
'Declaration
 
Public Overridable Function GetDefaultSize() As Size
'Usage
 
Dim instance As ToolbarButton
Dim value As Size
 
value = instance.GetDefaultSize()
public virtual Size GetDefaultSize()
public: virtual Size GetDefaultSize(); 
public:
virtual Size GetDefaultSize(); 
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