BCGControlBar Library for .NET
OnMouseUp Method (Cell)




Provides data associated with this event.
Called from the Grid control when the user releases left mouse button over a cell.
Syntax
'Declaration
 
Public Overridable Function OnMouseUp( _
   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.OnMouseUp(e, handled)
public virtual bool OnMouseUp( 
   MouseEventArgs e,
   ref bool handled
)
public: virtual bool OnMouseUp( 
   MouseEventArgs* e,
   ref bool handled
) 
public:
virtual bool OnMouseUp( 
   MouseEventArgs^ e,
   bool% handled
) 

Parameters

e
Provides data associated with this event.
handled

Return Value

Should return true if the mouse button was released over cell's clickable content.
Remarks

If this method returns true and the cell was pressed, the Grid raises CellExecuteCommand event.

It's highly recommended to call the base implementation because it asks the grid to raise CellMouseUp 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