Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

CancelMode Method, SoftelvdmUserControl Class

Cancels internal modes.

Class: SoftelvdmUserControl
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET

Syntax

public void CancelMode();
Public Sub CancelMode()

Comments

Cancels internal modes.

Applications may wish to respond to events such as mouse buttons. Many mouse related events may have built-in functions, particularly drag & drop operations may be started after these events are processed. If an application wants to suppress the built-in behavior, e.g. to display a context menu, the internal state of the control has to be cleared. This can be accomplished using the CancelMode method.

See Also SoftelvdmUserControl Class | Classes | SftTree/NET 2.0