IndirectBindingTAfterDelay Method (TimeSpan, Boolean)
Specifies that the binding should only respond to change events after a delay.
Eto (in Eto.dll) Version: 2.5.3-dev
public IndirectBinding<T> AfterDelay(
bool reset = false
Public Function AfterDelay (
delay As TimeSpan,
Optional reset As Boolean = false
) As IndirectBinding(Of T)
member AfterDelay :
delay : TimeSpan *
?reset : bool
let _reset = defaultArg reset false
- Type: SystemTimeSpan
The delay time span to wait after the value has changed before updating the binding.
- reset (Optional)
- Type: SystemBoolean
true to reset the delay every time the event is fired, false to trigger the change at least by the delay interval since the last time it was triggered
A binding that will delay the change event
This is useful if the property/delegate that is bound is expensive to retrieve the new value,
for example to dynamically generate a bitmap based on the state of the model, etc.
The reset boolean allows you to ensure that the binding is updated periodically when false (default),
or true to wait for the delay period after the last change event.