Command
Wisej.Web.Command
Last updated
Was this helpful?
Wisej.Web.Command
Last updated
Was this helpful?
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Implements the interface wrapping execute and canExecute actions.
You can use this class and to wrap custom commands to bind to controls that implement the interface. A view model class can expose as many commands as you like. You can bind (or assign) a command to the property (see for example).
execute
canExecute
execute
canExecute
Executes a method that determines whether the command can execute in its current state.
args
Executes the command method.
args
Defines a command that can be used for data binding.
Now you can use data binding or a code assignment to connect the view model's Add command to a button's property.
Initializes a new wrapping am execute method and an canExecute method.
Invoked by the to perform a command.
Invoked by the to determine weather it can execute the execute function.
Initializes a new wrapping am execute method and an canExecute method.
Invoked by the to perform a command.
Invoked by the to determine weather it can execute the execute function.
A that contains data that can be used by the command.
Returns: . true if this command can be executed; otherwise, false.
A that contains data that can be used by the command.
Fires the event.
Fired when the result of the method changes.
Implements the interface wrapping execute and canExecute actions.