Visual Basic (Declaration) | |
---|---|
Public Event PreviewQueryDropState As QueryDropStateEventHandler |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ISDragableItemsControl Dim handler As QueryDropStateEventHandler AddHandler instance.PreviewQueryDropState, handler |
C# | |
---|---|
public event QueryDropStateEventHandler PreviewQueryDropState |
Delphi | |
---|---|
public event PreviewQueryDropState: QueryDropStateEventHandler; |
JScript | |
---|---|
In JScript, you can handle the events defined by another class, but you cannot define your own. |
Managed Extensions for C++ | |
---|---|
public: __event QueryDropStateEventHandler* PreviewQueryDropState |
C++/CLI | |
---|---|
public: event QueryDropStateEventHandler^ PreviewQueryDropState |
The event handler receives an argument of type QueryDropStateEventArgs containing data related to this event. The following QueryDropStateEventArgs properties provide information specific to this event.
Property | Description |
---|---|
AllowDropObject | Gets or sets a value that indicates whether drop is allowed. |
Data | Gets data carried. |
Effects | Gets or sets the drag drop effects. |
EventType | Gets the drag event type. |
Handled (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
HandledBy (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
IsHandledByPrimitive (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
OriginalSource (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
RoutedEvent (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
Source (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) |
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