CommandEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
Identifies the executed command and the query that selected it.
- C#
- VB.NET
public class CommandEventArgs : EventArgs
Public Class CommandEventArgs
Inherits EventArgs
Derives from or implements EventArgs.
Use Command, Query to access the event data.
Example:
palette.CommandExecuted += (s, e) => OpenRecord(e.Command.Tag);
Constructors
CommandEventArgs(command, query)
Creates command execution data.
| Name | Type | Description |
|---|---|---|
| command | PaletteCommand | The executed command. |
| query | String | The active query. |
Properties
Command
PaletteCommand: Gets the original server-side command, including its Tag.
Query
String: Gets the query used for execution.