BCGControlBar Library for .NET
GetTotalButtonSize Method (Toolbar)




Called by the framework on  stretching ToolBar. Represents the summary width of all the visible buttons from the ToolBarButton collection.
Syntax
'Declaration
 
Public Overrides Function GetTotalButtonSize( _
   ByVal horz As Boolean _
) As Integer
'Usage
 
Dim instance As Toolbar
Dim horz As Boolean
Dim value As Integer
 
value = instance.GetTotalButtonSize(horz)
public override int GetTotalButtonSize( 
   bool horz
)
public: int GetTotalButtonSize( 
   bool horz
) override 
public:
int GetTotalButtonSize( 
   bool horz
) override 

Parameters

horz
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 GetTotalButtonSize

Send Feedback