BCGControlBar Library for .NET
OnMouseDown Method (Cell)




Mouse data.
Called from the Grid control when the user clicks left mouse button.
Syntax
'Declaration
 
Public Overridable Function OnMouseDown( _
   ByVal e As MouseEventArgs, _
   ByRef handled As Boolean _
) As Boolean
'Usage
 
Dim instance As Cell
Dim e As MouseEventArgs
Dim handled As Boolean
Dim value As Boolean
 
value = instance.OnMouseDown(e, handled)
public virtual bool OnMouseDown( 
   MouseEventArgs e,
   ref bool handled
)
public: virtual bool OnMouseDown( 
   MouseEventArgs* e,
   ref bool handled
) 
public:
virtual bool OnMouseDown( 
   MouseEventArgs^ e,
   bool% handled
) 

Parameters

e
Mouse data.
handled

Return Value

Should return true, if the mouse pointer located within clickable cell content and the clicked cell may/should have "clicked" state.
Remarks
It's highly recommended to call the base implementation from the derived class, because it calls the Grid control to raise CellMouseDown event.
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

Cell Class
Cell Members

Send Feedback