DependencyObject.GetValueBase(DependencyProperty) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET