StartPageRelativeExtension Class

 

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.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

System.Object
  System.Windows.Markup.MarkupExtension
    Microsoft.VisualStudio.PlatformUI.StartPageRelativeExtension

public class StartPageRelativeExtension : MarkupExtension

NameDescription
System_CAPS_pubmethodStartPageRelativeExtension(String)

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

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodProvideValue(IServiceProvider)

Gets the object that is defined in the XAML.(Overrides MarkupExtension.ProvideValue(IServiceProvider).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: