Export (0) Print
Expand All

IRootObjectProvider Interface

Describes a service that can return the root object of markup being parsed.

Namespace:  System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

public interface IRootObjectProvider

The IRootObjectProvider type exposes the following members.

  NameDescription
Public propertyRootObjectGets the root object from markup or from an object graph.
Top

The IRootObjectProvider service is mainly relevant to application services that are exposed by a particular framework or by capabilities of a commonly-used root element class in a framework.

Type converters and markup extensions can query for IRootObjectProvider as a service on the service context that is provided by a XAML object writer, when the XAML object writer invokes value conversion behavior. For more information, see Type Converters and Markup Extensions for XAML and Service Contexts Available to Type Converters and Markup Extensions.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Show:
© 2014 Microsoft