Skip to main content
Version: 4.1

CommandArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents data passed to ICommand.

public class CommandArgs

Constructors​

Instance member CommandArgs(dataItem, commandSource, bindingContext, currencyManager)​

Initializes a new instance of CommandArgs.

NameTypeDescription
dataItemObjectCurrent data item in the data source, or null.
commandSourceICommandSourceThe ICommandSource that invoked the command.
bindingContextBindingContextCurrent BindingContext or null.
currencyManagerCurrencyManagerThe CurrencyManager for the current data source, or null.

All arguments are optional.

Properties​

Instance member BindingContext​

BindingContext: Returns or sets the current BindingContext.

Instance member CommandSource​

ICommandSource: Returns or sets the ICommandSource that invoked the command.

Instance member CurrencyManager​

CurrencyManager: Returns or sets the current CurrencyManager.

Instance member DataItem​

Object: Returns or sets the current data item.

Inherited By​

NameDescription
CommandArgs<T>Represents typed data passed to ICommand.