BCGControlBar Library for .NET
OnCalculateSize Method (ToolbarGalleryButton)




Calculates the size of the ToolbarGalleryButton according to its default size and content.
Syntax
'Declaration
 
Public Overrides Function OnCalculateSize( _
   ByVal sizeDefault As Size _
) As Size
'Usage
 
Dim instance As ToolbarGalleryButton
Dim sizeDefault As Size
Dim value As Size
 
value = instance.OnCalculateSize(sizeDefault)
public override Size OnCalculateSize( 
   Size sizeDefault
)
public: Size OnCalculateSize( 
   Size sizeDefault
) override 
public:
Size OnCalculateSize( 
   Size sizeDefault
) override 

Parameters

sizeDefault
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

ToolbarGalleryButton Class
ToolbarGalleryButton Members
Base Implementation in OnCalculateSize

Send Feedback