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.

Silverlight

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

ADD
Show: