Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TargetObject Property
Collapse the table of content
Expand the table of content

IProvideValueTarget.TargetObject Property

Gets the target object being reported.

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

Object TargetObject { get; }

Property Value

Type: System.Object
The target object being reported.

The value returned by TargetObject is the actual reference, not a type system identifier or other identifier. The value can also be null; see Remarks in IProvideValueTarget.

Caution noteCaution:

When using the service, your code must not modify the object referenced by the TargetObject property, or other objects referenced by that object. Changes to the target could cause unexpected changes or invalidatations in the Silverlight property system.


Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2015 Microsoft