Intersoft ClientUI Documentation
PreviewQueryDropState Event
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXDock Namespace > UXDesktopDockButton Class : PreviewQueryDropState Event






The preview version of QueryDropState event. Handle this event to provide feedback to the drag drop mechanism whether the target object can accept drop by setting the AllowDropObject of the QueryDropState event argument to true.

Syntax

Visual Basic (Declaration) 
Public Event PreviewQueryDropState As QueryDropStateEventHandler
Visual Basic (Usage)Copy Code
Dim instance As UXDesktopDockButton
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

Event Data

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.

PropertyDescription
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) 

Requirements

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

See Also

© 2012 All Rights Reserved.