This documentation is archived and is not being maintained.

IProvideValueTarget.TargetObject Property

Gets the target object being reported.

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

ReadOnly Property TargetObject As Object
Dim instance As IProvideValueTarget 
Dim value As Object 

value = instance.TargetObject
You cannot set this property in XAML.

Property Value

Type: System.Object
The target object being reported.

This value can be Nothing.

Important noteImportant Note:

This interface is used internally by some WPF types and should not be used by application or type authors. It is particularly important not to modify the object referenced by the TargetObject property, or other objects referenced by that object, because these changes could cause unexpected changes to those objects.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0