ICommand
Wisej.Web.ICommand
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Defines a command that can be used for data binding.
Methods
CanExecute(args)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F2647619304-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FHOivImCoV8KSJbQyp6QI%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=d2776d01&sv=1)
Defines a method that determines whether the command can execute in its current state.
Parameter | Type | Description |
---|---|---|
args | A CommandArgs that contains data that can be used by the command. |
Returns: Boolean. true if this command can be executed; otherwise, false.
Execute(args)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F2647619304-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FHOivImCoV8KSJbQyp6QI%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=d2776d01&sv=1)
Defines a method to be called when the command is invoked.
Parameter | Type | Description |
---|---|---|
args | A CommandArgs that contains data that can be used by the command. |
Events
CanExecuteChanged
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F2647619304-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FHOivImCoV8KSJbQyp6QI%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=d2776d01&sv=1)
EventHandler Fired when changes occur that affect whether or not the command should execute.
Implemented By
Last updated