This documentation is archived and is not being maintained.

DependencyObject.GetValueBase Method

Provides access to the bound object of a DependencyProperty and bypassing the GetValue override.

Namespace: System.Workflow.ComponentModel
Assembly: System.Workflow.ComponentModel (in system.workflow.componentmodel.dll)

public Object GetValueBase (
	DependencyProperty dependencyProperty
public Object GetValueBase (
	DependencyProperty dependencyProperty
public function GetValueBase (
	dependencyProperty : DependencyProperty
) : Object
Not applicable.



The DependencyProperty to get the value of.

Return Value

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

Exception typeCondition


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

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0