| Visual Basic (Declaration) | |
|---|---|
Public Event DragStarted As DragStartedEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As UXThumb Dim handler As DragStartedEventHandler AddHandler instance.DragStarted, handler | |
| C# | |
|---|---|
public event DragStartedEventHandler DragStarted | |
| Delphi | |
|---|---|
public event DragStarted: DragStartedEventHandler; | |
| JScript | |
|---|---|
In JScript, you can handle the events defined by another class, but you cannot define your own. | |
| Managed Extensions for C++ | |
|---|---|
public: __event DragStartedEventHandler* DragStarted | |
| C++/CLI | |
|---|---|
public: event DragStartedEventHandler^ DragStarted | |
The event handler receives an argument of type DragStartedEventArgs containing data related to this event. The following DragStartedEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Cancel | Gets or sets a value that indicates whether the drag is cancelled. |
| Handled (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| HandledBy (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| HorizontalOffset | Gets the horizontal offset of the mouse click relative to the screen coordinates of the UXThumb. |
| IsHandledByPrimitive (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| MouseEventArgs | Gets the MouseEventArgs related to the drag delta event. |
| OriginalSource (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| RoutedEvent (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| Source (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| VerticalOffset | Gets the vertical offset of the mouse click relative to the screen coordinates of the UXThumb. |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family