Click or drag to resize

BindingErrorTracerStart Method (ActionString, SourceLevels)

Hooks into PresentationTraceSources to listen for binding errors.

Namespace:  TomsToolbox.Wpf
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax
public static void Start(
	Action<string> errorCallback,
	SourceLevels sourceLevels
)

Parameters

errorCallback
Type: SystemActionString
The callback that is called in case of binding errors, to show an error message or throw an exception
sourceLevels
Type: System.DiagnosticsSourceLevels
The source levels that trigger a warning.
See Also