Represents a service that can use application context to resolve a provided relative URI to an absolute URI.
Assembly: System.Xaml (in System.Xaml.dll)
implemented as a service enables type converters to use an application-specific context that might be able to complete a URI-type property.
Type converters and markup extensions can query for Type Converters and Markup Extensions for XAML and Service Contexts Available to Type Converters and Markup Extensions.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
is not just for value conversion and service context. Class logic for UI elements or other classes that support containment might also implement services as a recognized pattern that child elements can call for base URI information, or store base URI information that is obtained from XAML parsing of the root element.
In previous versions of the .NET Framework, this interface existed in the WPF-specific assembly PresentationCore. In .NET Framework 4, Types Migrated from WPF to System.Xaml.is in the System.Xaml assembly. For more information, see
Example scenarios forexist in WPF.
As an example of a value converter, the FontFamilyConverter class can use a relative URI that is provided for properties such as Page::FontFamily, if is available as a service on the ITypeDescriptorContext input.
Available since 3.0