Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PriorityBindingExpression Class

 

Contains instance information about a single instance of a PriorityBinding.

Namespace:   System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

System.Object
  System.Windows.Expression
    System.Windows.Data.BindingExpressionBase
      System.Windows.Data.PriorityBindingExpression

public sealed class PriorityBindingExpression : BindingExpressionBase

NameDescription
System_CAPS_pubpropertyActiveBindingExpression

Gets the active BindingExpression object.

System_CAPS_pubpropertyBindingExpressions

Gets the collection of BindingExpression objects inside this instance of PriorityBindingExpression.

System_CAPS_pubpropertyBindingGroup

Gets the BindingGroup that this binding expression belongs to.(Inherited from BindingExpressionBase.)

System_CAPS_pubpropertyHasError

Gets a value that indicates whether the parent binding has a failed validation rule.(Inherited from BindingExpressionBase.)

System_CAPS_pubpropertyHasValidationError

Gets a value that indicates whether the parent binding has a failed validation rule.(Overrides BindingExpressionBase.HasValidationError.)

System_CAPS_pubpropertyIsDirty

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.)

System_CAPS_pubpropertyParentBindingBase

Gets the BindingBase object from which this BindingExpressionBase object is created.(Inherited from BindingExpressionBase.)

System_CAPS_pubpropertyParentPriorityBinding

Gets the PriorityBinding object from which this PriorityBindingExpression is created.

System_CAPS_pubpropertyStatus

Gets the status of the binding expression.(Inherited from BindingExpressionBase.)

System_CAPS_pubpropertyTarget

Gets the element that is the binding target object of this binding expression.(Inherited from BindingExpressionBase.)

System_CAPS_pubpropertyTargetProperty

Gets the binding target property of this binding expression.(Inherited from BindingExpressionBase.)

System_CAPS_pubpropertyValidationError

Gets the ValidationError that caused this instance of BindingExpressionBase to be invalid.(Inherited from BindingExpressionBase.)

System_CAPS_pubpropertyValidationErrors

Gets a collection of ValidationError objects that caused this instance of BindingExpressionBase to be invalid.(Inherited from BindingExpressionBase.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodUpdateSource()

Updates the source on the active binding.(Overrides BindingExpressionBase.UpdateSource().)

System_CAPS_pubmethodUpdateTarget()

Updates the target on the active binding. (Overrides BindingExpressionBase.UpdateTarget().)

System_CAPS_pubmethodValidateWithoutUpdate()

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.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIWeakEventListener.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.)

PriorityBinding is a single run-time instance of a PriorityBindingExpression. 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. For information about binding expressions, see the Binding and BindingExpression section in the Data Binding Overview.

The binding engine determines which of the BindingExpression objects is the ActiveBindingExpression based on priority. For more information, see PriorityBinding.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft