-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
@Command :ViewModel's Command is like an event handler, we can bind an event to a Command. The binding between events and a command is what we call "Event-Command Binding". Before establish this binding, we have to declare a Command with its name in a ViewModel. Be careful that command names in a ViewModel cannot be duplicated, or it will cause run-time exception.
@NotifyChange("*"):To notify binder one or more properties change.
2 | No.2 Revision |
@Command :ViewModel's Command is like an event handler, we can bind an event to a Command. The binding between events and a command is what we call "Event-Command Binding". Before establish this binding, we have to declare a Command with its name in a ViewModel. Be careful that command names in a ViewModel cannot be duplicated, or it will cause run-time exception.
@NotifyChange("*"):To notify binder one or more properties change.