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

NameDescription
System_CAPS_pubpropertyRootObject

Gets the root object from markup or from an object graph.

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
Available since 4.0
Silverlight
Available since 5.0
Return to top
Show: