StartPageRelativeExtension Class

Definition

Represents a markup extension that enables custom start pages to use paths relative to the XAML file on any property expecting a Uri, an ImageSource, or a string.

public ref class StartPageRelativeExtension : System::Windows::Markup::MarkupExtension
public class StartPageRelativeExtension : System.Windows.Markup.MarkupExtension
type StartPageRelativeExtension = class
    inherit MarkupExtension
Public Class StartPageRelativeExtension
Inherits MarkupExtension
Inheritance
StartPageRelativeExtension

Remarks

Usage: <Image Source="{vs:StartPageRelative mypic.png}"/>

Constructors

StartPageRelativeExtension(String)

Initializes a new instance of StartPageRelativeExtension with the specified relative path.

Methods

ProvideValue(IServiceProvider)

Gets the object that is defined in the XAML.

Applies to