Skip to main content
Version: 4.2

CommandEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.2.0.0)

Identifies the executed command and the query that selected it.

public class CommandEventArgs : EventArgs

Derives from or implements EventArgs.

Use Command, Query to access the event data.

Example:

palette.CommandExecuted += (s, e) => OpenRecord(e.Command.Tag);

Constructors​

Instance member CommandEventArgs(command, query)​

Creates command execution data.

NameTypeDescription
commandPaletteCommandThe executed command.
queryStringThe active query.

Properties​

Instance member Command​

PaletteCommand: Gets the original server-side command, including its Tag.

Instance member Query​

String: Gets the query used for execution.