Click or drag to resize

DirectBindingTCatchException 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 DirectBinding<T> 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: DirectBindingT
The binding that catches any exception.
See Also