Click or drag to resize

IndirectBindingTCatchException 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 IndirectBinding<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: IndirectBindingT
The binding that catches any exception.
See Also