C# Class Svg2Xaml.SvgImageExtension

A MarkupExtension for loading SVG images.
Inheritance: System.Windows.Markup.MarkupExtension
Afficher le fichier Open project: jogibear9988/svg2xaml

Méthodes publiques

Méthode Description
ProvideValue ( IServiceProvider serviceProvider ) : object

Overrides MarkupExtension.ProvideValue and returns the DrawingImage the SVG document is rendered into.

SvgImageExtension ( ) : System

Initializes a new SvgImageExtension instance.

SvgImageExtension ( Uri uri ) : System

Initializes a new SvgImageExtension instance.

Method Details

ProvideValue() public méthode

Overrides MarkupExtension.ProvideValue and returns the DrawingImage the SVG document is rendered into.
public ProvideValue ( IServiceProvider serviceProvider ) : object
serviceProvider IServiceProvider /// Object that can provide services for the markup extension; /// is not used. ///
Résultat object

SvgImageExtension() public méthode

Initializes a new SvgImageExtension instance.
public SvgImageExtension ( ) : System
Résultat System

SvgImageExtension() public méthode

Initializes a new SvgImageExtension instance.
public SvgImageExtension ( Uri uri ) : System
uri System.Uri /// The location of the SVG document. ///
Résultat System