BindingUpdate enum Core
When a control bound through an IBindingAdapter shows what the view model made of its own edit (a price typed as "25" that the view model formats as "25.00"). Edits reach the view model with every keystroke either way.
public enum BindingUpdate
- Namespace
- ArionUI.Presentation.Controls
- Package
- ArionUI.Presentation ·
dotnet add package ArionUI.Presentation --prerelease
Values
| Name | Value | Description |
|---|---|---|
Commit |
0 |
While the control holds the focus it keeps what the user typed; the view model's answer appears when the focus leaves or Enter commits (as WPF does). A change that comes from elsewhere (another property, a worker) appears at once, the caret where it was. |
Keystroke |
1 |
The view model's answer appears with every keystroke. |