Skip to main content

BindingErrorEventArgs Class

Namespace: GHIElectronics.TinyCLR.UI.Controls · Assembly: GHIElectronics.TinyCLR.UI

Reported by controls (currently TextBox) when a reflection- based binding read or write fails. Subscribing is optional — the framework defaults to silent so a misspelled property name doesn't crash the UI, but a subscriber can log or surface the error.

public sealed class BindingErrorEventArgs

Constructors

BindingErrorEventArgs(BindingErrorDirection direction, string propertyName, Exception exception)

public BindingErrorEventArgs(BindingErrorDirection direction, string propertyName, Exception exception)

No description available.

ParameterTypeDescription
directionBindingErrorDirection
propertyNamestring
exceptionException

Properties

Direction

public BindingErrorDirection Direction { get; }

The new direction of the hat switch. (inherited)

PropertyName

public string PropertyName { get; }

No description available.

Exception

public Exception Exception { get; }

No description available.