| Visual Basic (Declaration) | |
|---|---|
| Public Event SystemContextMenu As WindowContextMenuEventHandler | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
| Dim instance As UXWindow Dim handler As WindowContextMenuEventHandler AddHandler instance.SystemContextMenu, handler | |
| C# | |
|---|---|
| public event WindowContextMenuEventHandler SystemContextMenu | |
| Delphi | |
|---|---|
| public event SystemContextMenu: WindowContextMenuEventHandler; | |
| JScript | |
|---|---|
| In JScript, you can handle the events defined by another class, but you cannot define your own. | |
| Managed Extensions for C++ | |
|---|---|
| public: __event WindowContextMenuEventHandler* SystemContextMenu | |
| C++/CLI | |
|---|---|
| public: event WindowContextMenuEventHandler^ SystemContextMenu | |
The event handler receives an argument of type WindowContextMenuEventArgs containing data related to this event. The following WindowContextMenuEventArgs properties provide information specific to this event.
| Property | Description | 
|---|---|
| ContextMenu | Gets the ContextMenu object associated to the window. | 
| 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) | |
| 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. | 
| Window (Inherited from Intersoft.Client.Framework.WindowEventArgs) | The window object that relates to the event context. | 
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
 
     
     
     
     
    