BCGControlBar Library for .NET
GetAvailableSpace(CommandBar) Method




The command bar to ignore the size on calculating available space.
Specifies the space free out of commandbars. If the dockbar is located horizontally it will be equal the difference between the width of the parent dock bar and the summary width of all command bars without the width of ignored bar. If the dockbar is located vertically the returned value will be equal the difference between the height the parent dock bar and the summary height of all command bars without the height of ignored bar .
Syntax
'Declaration
 
Public Overloads Function GetAvailableSpace( _
   ByVal barToIgnore As CommandBar _
) As Integer
'Usage
 
Dim instance As DockBarRow
Dim barToIgnore As CommandBar
Dim value As Integer
 
value = instance.GetAvailableSpace(barToIgnore)
public int GetAvailableSpace( 
   CommandBar barToIgnore
)
public: int GetAvailableSpace( 
   CommandBar* barToIgnore
) 
public:
int GetAvailableSpace( 
   CommandBar^ barToIgnore
) 

Parameters

barToIgnore
The command bar to ignore the size on calculating available space.
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

DockBarRow Class
DockBarRow Members
Overload List

Send Feedback