BindingExtensions

public static class BindingExtensions
Extensions for bindings

Methods

WhenLostFocus<T, TValue>

#Example
public static BindableBinding<T, TValue> WhenLostFocus<T, TValue>(this BindableBinding<T, TValue> binding)
Causes the change event of the binding to occur only when the Control.LostFocus event is triggered.
Remarks: This is useful for text-based input controls such as the NumericStepper when a partial input can be invalid. The binding will only be updated when the control has lost the input focus, where by default it will be updated for every change while the user is updating the control.
binding (BindableBinding<T, TValue>)
A control binding that updates only when the control's input focus is lost.