Intersoft ClientUI Documentation
CanQueryStatus Event
See Also  Send Feedback
Intersoft.Client.Framework.Input Namespace > HybridCommandBinding Class : CanQueryStatus Event






Occurs when the CommandManager performs requery and invalidates the query status.

Syntax

Visual Basic (Declaration) 
Public Event CanQueryStatus As CanQueryStatusRoutedEventHandler
Visual Basic (Usage)Copy Code
Dim instance As HybridCommandBinding
Dim handler As CanQueryStatusRoutedEventHandler
 
AddHandler instance.CanQueryStatus, handler
C# 
public event CanQueryStatusRoutedEventHandler CanQueryStatus
Delphi 
public event CanQueryStatus: CanQueryStatusRoutedEventHandler; 
JScript 
In JScript, you can handle the events defined by another class, but you cannot define your own.
Managed Extensions for C++ 
public: __event CanQueryStatusRoutedEventHandler* CanQueryStatus
C++/CLI 
public:
event CanQueryStatusRoutedEventHandler^ CanQueryStatus

Event Data

The event handler receives an argument of type CanQueryStatusRoutedEventArgs containing data related to this event. The following CanQueryStatusRoutedEventArgs properties provide information specific to this event.

PropertyDescription
CanQueryStatus Gets or sets a value that indicates whether the HybridRoutedCommand associated with this event can perform query status on the command target.
Command Gets the command associated with this event.
Handled (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs)Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route.
HandledBy (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) 
IsHandledByPrimitive (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) 
OriginalSource (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) 
QueryParameter Gets the command specific data.
RoutedEvent (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) 
Source (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs)Gets or sets a reference to the object that raised the event.

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.