CommandArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents data passed to ICommand.
- C#
- VB.NET
public class CommandArgs
Public Class CommandArgs
Constructors
CommandArgs(dataItem, commandSource, bindingContext, currencyManager)
Initializes a new instance of CommandArgs.
| Name | Type | Description |
|---|---|---|
| dataItem | Object | Current data item in the data source, or null. |
| commandSource | ICommandSource | The ICommandSource that invoked the command. |
| bindingContext | BindingContext | Current BindingContext or null. |
| currencyManager | CurrencyManager | The CurrencyManager for the current data source, or null. |
All arguments are optional.
Properties
BindingContext
BindingContext: Returns or sets the current BindingContext.
CommandSource
ICommandSource: Returns or sets the ICommandSource that invoked the command.
CurrencyManager
CurrencyManager: Returns or sets the current CurrencyManager.
DataItem
Object: Returns or sets the current data item.
Inherited By
| Name | Description |
|---|---|
| CommandArgs<T> | Represents typed data passed to ICommand. |