BCGControlBar Library for .NET
OnCalculateSize Method (CustomizeButton)




Specifies the basic size which as a rule depends on the size of the parent command bar.
Calculates the size of the customize button according to the size of its parent command bar.
Syntax
'Declaration
 
Public Overrides Function OnCalculateSize( _
   ByVal size As Size _
) As Size
'Usage
 
Dim instance As CustomizeButton
Dim size As Size
Dim value As Size
 
value = instance.OnCalculateSize(size)
public override Size OnCalculateSize( 
   Size size
)
public: Size OnCalculateSize( 
   Size size
) override 
public:
Size OnCalculateSize( 
   Size size
) override 

Parameters

size
Specifies the basic size which as a rule depends on the size of the parent command bar.
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

CustomizeButton Class
CustomizeButton Members
Base Implementation in OnCalculateSize

Send Feedback