Table of Contents

Class BindingExpressionBase

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

Base class for Binding Expressions.

public abstract class BindingExpressionBase : Expression, IWeakEventListener
Inheritance
BindingExpressionBase
Implements
Derived

Properties

BindingGroup

The BindingGroup to which this BindingExpression belongs (or null)

HasError

HasError returns true if any of the ValidationRules in the ParentBinding failed its validation rule.

HasValidationError

HasValidationError returns true if any of the ValidationRules in the ParentBinding failed its validation rule.

IsDirty

IsDirty returns true if the target property has a new value that has not yet been written to the source property. (This applies only to bindings that are TwoWay or OneWayToSource.)

ParentBindingBase

Binding from which this BindingExpression was created

Status

Status of the BindingExpression

Target

The element to which this BindingExpression is attached

TargetProperty

The property to which this BindingExpression is attached

ValidationError

The ValidationError that caused this BindingExpression to be invalid.

ValidationErrors

ValidationErrors returns the validation errors currently arising from this binding, or null if there are no errors.

Methods

UpdateSource()

Send the current value back to the source

UpdateTarget()

Force a data transfer from source to target

ValidateWithoutUpdate()

Run UI-side validation rules on the proposed value held by this binding expression, but do not write the proposed value back to the source, or run source-side validation rules.