Rediger

Del via


MultiBindingExpression Class

Definition

Contains instance information about a single instance of a MultiBinding.

public ref class MultiBindingExpression sealed : System::Windows::Data::BindingExpressionBase
public sealed class MultiBindingExpression : System.Windows.Data.BindingExpressionBase
type MultiBindingExpression = class
    inherit BindingExpressionBase
Public NotInheritable Class MultiBindingExpression
Inherits BindingExpressionBase
Inheritance
MultiBindingExpression

Remarks

MultiBindingExpression describes a single run-time instance of a MultiBinding. Therefore, it describes a collection of BindingExpression objects attached to a single binding target property.

For information about binding expressions, see the Binding and BindingExpression section in the Data Binding Overview.

With the use of a converter, the property values of the BindingExpression objects in a MultiBindingExpression produce a final value for the target property. In the reverse direction, the target property value is translated to a set of values that are fed back into the BindingExpression objects. For more information, see MultiBinding.

Properties

BindingExpressions

Gets the collection of BindingExpression objects in this instance of MultiBindingExpression.

BindingGroup

Gets the BindingGroup that this binding expression belongs to.

(Inherited from BindingExpressionBase)
HasError

Returns a value that indicates whether any of the inner Binding objects or the MultiBinding itself has a failing validation rule.

HasValidationError

Gets a value that indicates whether the parent binding has a failed validation rule.

HasValidationError

Gets a value that indicates whether the parent binding has a failed validation rule.

(Inherited from BindingExpressionBase)
IsDirty

Gets or sets a value that indicates whether the target of the binding has a value that has not been written to the source.

(Inherited from BindingExpressionBase)
ParentBindingBase

Gets the BindingBase object from which this BindingExpressionBase object is created.

(Inherited from BindingExpressionBase)
ParentMultiBinding

Gets the MultiBinding object from which this MultiBindingExpression is created.

Status

Gets the status of the binding expression.

(Inherited from BindingExpressionBase)
Target

Gets the element that is the binding target object of this binding expression.

(Inherited from BindingExpressionBase)
TargetProperty

Gets the binding target property of this binding expression.

(Inherited from BindingExpressionBase)
ValidationError

Gets the ValidationError object that caused this instance of MultiBindingExpression to be invalid.

ValidationErrors

Gets a collection of ValidationError objects that caused this instance of BindingExpressionBase to be invalid.

(Inherited from BindingExpressionBase)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
UpdateSource()

Sends the current binding target value to the binding source properties in TwoWay or OneWayToSource bindings.

UpdateTarget()

Forces a data transfer from the binding source properties to the binding target property.

ValidateWithoutUpdate()

Runs any ValidationRule objects on the associated Binding that have the ValidationStep property set to RawProposedValue or ConvertedProposedValue. This method does not update the source.

(Inherited from BindingExpressionBase)

Explicit Interface Implementations

IWeakEventListener.ReceiveWeakEvent(Type, Object, EventArgs)

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

(Inherited from BindingExpressionBase)

Applies to

See also