Class CommandEventArgs

Provides a class for command events. Event handlers can use the cancel property to cancel the operation in progress. The semantics of canceling an event depend on the event source.

see

{@link http://msdn.microsoft.com/en-us/library/dd393715(v=vs.100).aspx

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(commandName: string, commandArgument: any, commandSource: any): CommandEventArgs

Parameters

  • commandName: string
  • commandArgument: any
  • commandSource: any

Returns

CommandEventArgs

Properties

public Empty: EventArgs

An object of type EventArgs that is used as a convenient way to specify an empty EventArgs instance.

Methods

public get_commandArgument(): any

Gets a value that represents the command argument.

Returns

any

public get_commandName(): string

Gets a string that specifies the command name.

Returns

string

public get_commandSource(): any

Gets a value that represents the command source.

Returns

any