BCGControlBar Library for .NET
OnCalcMenuButtonArrowSize Method (VisualManager)




Specifies the default button size.
Indicates a value whether a command associated with a MenuButton can be executed.
Specifies the size of the arrow to draw on the MenuButton.
Syntax
'Declaration
 
Public Overridable Function OnCalcMenuButtonArrowSize( _
   ByVal defaultButtonSize As Size, _
   ByVal canExecuteDefaultCommand As Boolean, _
   ByVal largeImageMode As Boolean _
) As Size
'Usage
 
Dim instance As VisualManager
Dim defaultButtonSize As Size
Dim canExecuteDefaultCommand As Boolean
Dim largeImageMode As Boolean
Dim value As Size
 
value = instance.OnCalcMenuButtonArrowSize(defaultButtonSize, canExecuteDefaultCommand, largeImageMode)
public virtual Size OnCalcMenuButtonArrowSize( 
   Size defaultButtonSize,
   bool canExecuteDefaultCommand,
   bool largeImageMode
)
public: virtual Size OnCalcMenuButtonArrowSize( 
   Size defaultButtonSize,
   bool canExecuteDefaultCommand,
   bool largeImageMode
) 
public:
virtual Size OnCalcMenuButtonArrowSize( 
   Size defaultButtonSize,
   bool canExecuteDefaultCommand,
   bool largeImageMode
) 

Parameters

defaultButtonSize
Specifies the default button size.
canExecuteDefaultCommand
Indicates a value whether a command associated with a MenuButton can be executed.
largeImageMode
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