DependencyObject.GetValueBase(DependencyProperty) Metod

Definition

Ger åtkomst till det bundna objektet i en DependencyProperty och kringgår åsidosättningen GetValue(DependencyProperty) .

public:
 System::Object ^ GetValueBase(System::Workflow::ComponentModel::DependencyProperty ^ dependencyProperty);
public object GetValueBase(System.Workflow.ComponentModel.DependencyProperty dependencyProperty);
member this.GetValueBase : System.Workflow.ComponentModel.DependencyProperty -> obj
Public Function GetValueBase (dependencyProperty As DependencyProperty) As Object

Parametrar

dependencyProperty
DependencyProperty

Att DependencyProperty hämta värdet för.

Returer

Det bundna objektet för en DependencyProperty. Detta kringgår åsidosättningen GetValue(DependencyProperty) .

Undantag

dependencyProperty är en nullreferens (Nothing i Visual Basic).

Kommentarer

Den här metoden är användbar i implementeringen av åsidosättningen GetValue . Vanligtvis anropar åsidosättningskoden GetValueGetValueBase, och lägger sedan till ytterligare kod.

För att implementera åsidosättningen GetValuePropertyMetadata kan användas i Register/RegisterAttached anrop.

Gäller för