PriorityBindingExpression 類別

定義

含有單一 PriorityBinding 執行個體的執行個體詳細資訊。Contains instance information about a single instance of a PriorityBinding.

public ref class PriorityBindingExpression sealed : System::Windows::Data::BindingExpressionBase
public sealed class PriorityBindingExpression : System.Windows.Data.BindingExpressionBase
type PriorityBindingExpression = class
    inherit BindingExpressionBase
Public NotInheritable Class PriorityBindingExpression
Inherits BindingExpressionBase
繼承
PriorityBindingExpression

備註

PriorityBinding是的單一執行時間實例PriorityBindingExpressionPriorityBinding is a single run-time instance of a PriorityBindingExpression. 因此, 它會描述附加至BindingExpression單一系結目標屬性的物件集合, 它會從集合中第一個BindingExpression物件接收成功傳回值的值。Therefore, it describes a collection of BindingExpression objects that are attached to a single binding target property, which receives its value from the first BindingExpression object in the collection that returns a value successfully. 如需系結運算式的詳細資訊, 請參閱資料系結總覽中的 Binding 和 system.windows.data.bindingexpression> 一節。For information about binding expressions, see the Binding and BindingExpression section in the Data Binding Overview.

系結引擎ActiveBindingExpression會根據優先順序來BindingExpression決定哪一個物件是。The binding engine determines which of the BindingExpression objects is the ActiveBindingExpression based on priority. 如需詳細資訊,請參閱PriorityBindingFor more information, see PriorityBinding.

屬性

ActiveBindingExpression

取得使用中的 BindingExpression 物件。Gets the active BindingExpression object.

BindingExpressions

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

BindingGroup

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

(繼承來源 BindingExpressionBase)
HasError

取得值,這個值表示父繫結是否有驗證失敗規則。Gets a value that indicates whether the parent binding has a failed validation rule.

(繼承來源 BindingExpressionBase)
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)
ParentPriorityBinding

取得 PriorityBinding 物件,這個 PriorityBindingExpression 是從其中建立。Gets the PriorityBinding object from which this PriorityBindingExpression 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 執行個體無效的 BindingExpressionBaseGets the ValidationError that caused this instance of BindingExpressionBase to be invalid.

(繼承來源 BindingExpressionBase)
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()

更新現用繫結的來源。Updates the source on the active binding.

UpdateTarget()

更新現用繫結的目標。Updates the target on the active binding.

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)

適用於

另請參閱