Table of Contents

Class PriorityBindingExpression

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

Describes a collection of BindingExpressions attached to a single property. These behave as "priority" BindingExpressions, meaning that the property receives its value from the first BindingExpression in the collection that can produce a legal value.

public sealed class PriorityBindingExpression : BindingExpressionBase, IWeakEventListener
Inheritance
PriorityBindingExpression
Implements

Properties

ActiveBindingExpression

Returns the active BindingExpression (or null)

BindingExpressions

List of inner BindingExpression

HasValidationError

HasValidationError returns true if any of the ValidationRules of any of its inner bindings failed its validation rule or the Multi-/PriorityBinding itself has a failing validation rule.

ParentPriorityBinding

Binding from which this expression was created

Methods

UpdateSource()

Send the current value back to the source

UpdateTarget()

Force a data transfer from source to target