DragCancel Method (SparkToggleButton)

Action

The event triggered when a drag operation is cancelled.

Syntax

C#
toggleButton.DragCancel([keyModifier])
VB
toggleButton.DragCancel([keyModifier])
Variable Description
keyModifier Optional: A constant that indicates which key or key combination, if any, was pressed while this operation took place. One of: flexAlt, flexControl, flexControlAlt, flexControlShift, flexControlShiftAlt, flexShift, or flexShiftAlt. For example, if the Shift and Alt keys were pressed, then the value would be flexShiftAlt. ModifierKeys.