Redigeeri

Jagamisviis:


DependencyObject.GetValueBase(DependencyProperty) Method

Definition

Provides access to the bound object of a DependencyProperty and bypasses the GetValue(DependencyProperty) override.

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

Parameters

dependencyProperty
DependencyProperty

The DependencyProperty to get the value of.

Returns

The bound object of a DependencyProperty. This bypasses the GetValue(DependencyProperty) override.

Exceptions

dependencyProperty is a null reference (Nothing in Visual Basic).

Remarks

This method is useful inside the GetValue override implementation. Typically, the GetValue override code invokes the GetValueBase, and then adds additional code.

For implementing the GetValue override, PropertyMetadata can be used in Register/RegisterAttached calls.

Applies to