StartPageRelativeExtension Class
A markup extension that enables custom start pages to use relative paths (where "relative" means relative to the XAML file rather than relative to VS) on any property expecting a Uri, ImageSource, or string.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.StartPage (in Microsoft.VisualStudio.Shell.StartPage.dll)
Syntax
'Dichiarazione
Public Class StartPageRelativeExtension _
Inherits MarkupExtension
'Utilizzo
Dim instance As StartPageRelativeExtension
public class StartPageRelativeExtension : MarkupExtension
public ref class StartPageRelativeExtension : public MarkupExtension
type StartPageRelativeExtension =
class
inherit MarkupExtension
end
public class StartPageRelativeExtension extends MarkupExtension
Remarks
Usage: <Image Source="{vs:StartPageRelative foo.png}"/>
Inheritance Hierarchy
System.Object
System.Windows.Markup.MarkupExtension
Microsoft.VisualStudio.PlatformUI.StartPageRelativeExtension
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.