BCGControlBar Library for .NET
OnMouseDown Method (MainRibbonButton)




A MouseEventArgs that contains the event data.

Called when the mouse button is held down while the pointer is on the MainRibbonButton.
Syntax
'Declaration
 
Public Overrides Function OnMouseDown( _
   ByVal e As MouseEventArgs _
) As Boolean
'Usage
 
Dim instance As MainRibbonButton
Dim e As MouseEventArgs
Dim value As Boolean
 
value = instance.OnMouseDown(e)
public override bool OnMouseDown( 
   MouseEventArgs e
)
public: bool OnMouseDown( 
   MouseEventArgs* e
) override 
public:
bool OnMouseDown( 
   MouseEventArgs^ e
) override 

Parameters

e

A MouseEventArgs that contains the event data.

Remarks
This event open MainPanel if it was closed, otherwise, close it.  Sets the pressed state to the MainRibbonButton if the PopupMenu is opened.
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

MainRibbonButton Class
MainRibbonButton Members
Base Implementation in OnMouseDown

Send Feedback