Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Editors Namespace / TextEditor Class / HandleActivationClick Method
The System.Windows.Forms.Control that will be used to edit the content of the cell.
The Xceed.Grid.Cell whose content is to be edited by the control.
The position of the mouse in screen coordinates.


In This Topic
    HandleActivationClick Method (TextEditor)
    In This Topic
    Gets a boolean value indicating if the control should handle the mouse click once it is activated.
    Syntax
    'Declaration
     
    Protected Friend Overrides Function HandleActivationClick( _
       ByVal control As Control, _
       ByVal cell As Cell, _
       ByVal mousePosition As Point _
    ) As Boolean
    'Usage
     
    Dim instance As TextEditor
    Dim control As Control
    Dim cell As Cell
    Dim mousePosition As Point
    Dim value As Boolean
     
    value = instance.HandleActivationClick(control, cell, mousePosition)
    protected internal override bool HandleActivationClick( 
       Control control,
       Cell cell,
       Point mousePosition
    )

    Parameters

    control
    The System.Windows.Forms.Control that will be used to edit the content of the cell.
    cell
    The Xceed.Grid.Cell whose content is to be edited by the control.
    mousePosition
    The position of the mouse in screen coordinates.

    Return Value

    true if the control should handle the mouse click once it is activated; false otherwise.
    Remarks

    Only in the case where InPlace returns true should HandleActivationClick return true.

    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