BCGControlBar Library for .NET
OnMouseMove Method (Cell)




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

Parameters

e
Provides data associated with this event.
handled

Return Value

Should return true, if the mouse pointer is moved over cell content which may/should have highlighted state.
Remarks
It's highly recommended to call the base implementation because it asks the grid to raise CellMouseMove event.

For example, in implementation of check box cell the library returns true only if the mouse pointer is located within bounds of small check box rectangle.
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