Partager via


ICompositionElement.Origin Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the composition element from which the current composition element originated.

Namespace:  System.ComponentModel.Composition.Primitives
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

Syntax

'Declaration
ReadOnly Property Origin As ICompositionElement
ICompositionElement Origin { get; }

Property Value

Type: System.ComponentModel.Composition.Primitives.ICompositionElement
The composition element from which the current ICompositionElement originated, or nulla null reference (Nothing in Visual Basic) if the ICompositionElement is the root composition element.

Version Information

Silverlight

Supported in: 5, 4

Platforms

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