Skip to main content
Version: 3.5

CommandArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents data passed to ICommand.

public class CommandArgs

Constructors​

Instance memberCommandArgs(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 memberBindingContext​

BindingContext: Returns or sets the current BindingContext.

Instance memberCommandSource​

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

Instance memberCurrencyManager​

CurrencyManager: Returns or sets the current CurrencyManager.

Instance memberDataItem​

Object: Returns or sets the current data item.

Inherited By​

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