Click or drag to resize

BindableBindingT, TValueCatchException Method (FuncException, Boolean)

Catches any exceptions when setting the value of the binding

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public BindableBinding<T, TValue> CatchException(
	Func<Exception, bool> exceptionHandler = null
)

Parameters

exceptionHandler (Optional)
Type: SystemFuncException, Boolean
Handler to call when setting the value, regardless of whether an exception occurs. Return true when the exception is handled, false to throw an exception.

Return Value

Type: BindableBindingT, TValue
The binding that catches any exception.
See Also