windowsforms-devexpress-dot-xtraeditors-dot-baseedit-dot-sendmouse-x28-system-dot-drawing-dot-point-system-dot-windows-dot-forms-dot-mousebuttons-x29.md
Raises the RepositoryItem.MouseDown event.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public virtual void SendMouse(
Point position,
MouseButtons button
)
Public Overridable Sub SendMouse(
position As Point,
button As MouseButtons
)
| Name | Type | Description |
|---|---|---|
| position | Point |
A Point structure specifying the mouse pointer coordinates.
| | button | MouseButtons |
A bitwise combination of MouseButtons enumeration values specifying the pressed mouse buttons.
|
This method supports the internal editor library’s infrastructure and you will have no need to use it in your applications.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SendMouse(Point, MouseButtons) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
ActiveEditor.EditValue = EditValue;
ActiveEditor.SendMouse(ActiveEditor.PointToClient(Control.MousePosition), Control.MouseButtons);
ActiveEditor.Properties.UnLockEvents();
ActiveEditor.EditValue = EditValue
ActiveEditor.SendMouse(ActiveEditor.PointToClient(Control.MousePosition), Control.MouseButtons)
ActiveEditor.Properties.UnLockEvents()
See Also