BCGControlBar Library for .NET
GetShowAllMenuItemsHeight Method (VisualManager)




The graphics to draw the "ShowAllButtons" button on.
The base size to calculate the height of the  "ShowAllButtons" button.
Called by the framework on calculating the size of the "ShowAllButtons" button. Returns the height of the "ShowAllButtons" in pixel.
Syntax
'Declaration
 
Public Overridable Function GetShowAllMenuItemsHeight( _
   ByVal grph As Graphics, _
   ByRef sizeDefault As Size _
) As Integer
'Usage
 
Dim instance As VisualManager
Dim grph As Graphics
Dim sizeDefault As Size
Dim value As Integer
 
value = instance.GetShowAllMenuItemsHeight(grph, sizeDefault)
public virtual int GetShowAllMenuItemsHeight( 
   Graphics grph,
   ref Size sizeDefault
)
public: virtual int GetShowAllMenuItemsHeight( 
   Graphics* grph,
   ref Size sizeDefault
) 
public:
virtual int GetShowAllMenuItemsHeight( 
   Graphics^ grph,
   Size% sizeDefault
) 

Parameters

grph
The graphics to draw the "ShowAllButtons" button on.
sizeDefault
The base size to calculate the height of the  "ShowAllButtons" button.
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

VisualManager Class
VisualManager Members

Send Feedback