The mouse cursor is leaving the control.
| C# | void object_MouseLeaveControl(object sender, EventArgumentType e); |
| VB.NET | Private Sub object_MouseLeaveControl(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.MouseLeaveControl |
| C++ | void OnMouseLeaveControlobject(); |
| C | HRESULT OnMouseLeaveControlobject(); |
| VB | Private Sub object_MouseLeaveControl() |
object
A SftTreeEvents object.
The MouseLeaveControl event occurs when the mouse cursor is leaving the control.
Many containers such as .NET provide their own events which signal that the mouse cursor is entering or leaving the control. For containers where such a facility is not available, the MouseEnterControl and MouseLeaveControl events can be used instead. It is preferable to use events or mechanisms offered by the container rather than the MouseEnterControl and MouseLeaveControl events.
Updating control properties or changing the input focus to another control while handling this event is not supported.
When the mouse cursor enters the control, the MouseEnterControl event occurs.
See Also SftTreeEvents Object | Object Hierarchy