StartPageRelativeExtension Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Usage:
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) |
Constructor |
Methods
ProvideValue(IServiceProvider) |
Returns the object based on the relative path provided. |