BCGControlBar Library for .NET
OnCalculateSize Method (OutlookMenuItem)




Called by the framework on adjusting the layout of the OutlookMenuItems within the OutlookMenuBar.  Calculates the size of the OutlookMenuItem.
Syntax
'Declaration
 
Public Overrides Function OnCalculateSize( _
   ByVal sizeDefault As Size _
) As Size
'Usage
 
Dim instance As OutlookMenuItem
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

OutlookMenuItem Class
OutlookMenuItem Members
Base Implementation in OnCalculateSize

Send Feedback