MultiBindingExpression 類別

定義

含有單一 MultiBinding 執行個體的執行個體詳細資訊。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
繼承
MultiBindingExpression

備註

MultiBindingExpression描述的單一執行時間實例MultiBindingMultiBindingExpression describes a single run-time instance of a MultiBinding. 因此, 它會描述附加至BindingExpression單一系結目標屬性的物件集合。Therefore, it describes a collection of BindingExpression objects attached to a single binding target property.

如需系結運算式的詳細資訊, 請參閱資料系結總覽中的 Binding 和 system.windows.data.bindingexpression> 一節。For information about binding expressions, see the Binding and BindingExpression section in the Data Binding Overview.

使用轉換器時, BindingExpression MultiBindingExpression中物件的屬性值會產生目標屬性的最終值。With the use of a converter, the property values of the BindingExpression objects in a MultiBindingExpression produce a final value for the target property. 相反地, 目標屬性值會轉譯成一組會送回BindingExpression物件的值。In the reverse direction, the target property value is translated to a set of values that are fed back into the BindingExpression objects. 如需詳細資訊,請參閱MultiBindingFor more information, see MultiBinding.

屬性

BindingExpressions

取得這個 BindingExpression 執行個體中 MultiBindingExpression 物件的集合。Gets the collection of BindingExpression objects in this instance of MultiBindingExpression.

BindingGroup

取得這個繫結運算式所屬的 BindingGroupGets the BindingGroup that this binding expression belongs to.

(繼承來源 BindingExpressionBase)
HasError

傳回值,這個值表示任何內部 Binding 物件或 MultiBinding 本身是否有驗證失敗規則。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.

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.

(繼承來源 BindingExpressionBase)
ParentBindingBase

取得 BindingBase 物件,這個 BindingExpressionBase 物件是從其中建立。Gets the BindingBase object from which this BindingExpressionBase object is created.

(繼承來源 BindingExpressionBase)
ParentMultiBinding

取得 MultiBinding 物件,這個 MultiBindingExpression 是從其中建立。Gets the MultiBinding object from which this MultiBindingExpression is created.

Status

取得繫結運算式的狀態。Gets the status of the binding expression.

(繼承來源 BindingExpressionBase)
Target

取得做為此繫結運算式的繫結目標物件的項目。Gets the element that is the binding target object of this binding expression.

(繼承來源 BindingExpressionBase)
TargetProperty

取得這個繫結運算式的繫結目標屬性。Gets the binding target property of this binding expression.

(繼承來源 BindingExpressionBase)
ValidationError

取得造成這個 ValidationError 執行個體無效的 MultiBindingExpression 物件。Gets the ValidationError object that caused this instance of MultiBindingExpression to be invalid.

ValidationErrors

取得 ValidationError 物件的集合,這些物件造成了這個 BindingExpressionBase 執行個體無效。Gets a collection of ValidationError objects that caused this instance of BindingExpressionBase to be invalid.

(繼承來源 BindingExpressionBase)

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)
UpdateSource()

將目前的繫結目標值傳送至 TwoWayOneWayToSource 繫結的繫結來源屬性。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()

在與 ValidationRule 屬性已設為 BindingValidationStep 的相關聯 RawProposedValue 上,執行任何 ConvertedProposedValue 物件。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.

(繼承來源 BindingExpressionBase)

明確介面實作

IWeakEventListener.ReceiveWeakEvent(Type, Object, EventArgs)

這個成員支援 Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 基礎結構,但是您不可以從程式碼直接使用它。This member supports the Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

(繼承來源 BindingExpressionBase)

適用於

另請參閱