BCGControlBar Library for .NET
CalcTotalSize Method




Calculates the total size of the CommandBar. It consists of the client size, the size of gripper, border, caption. You can override this function in the derived class to customize the calculation of the total size of the CommandBar.

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

CommandBar Class
CommandBar Members

Send Feedback