Table of Contents

Class ImageBrushExtension

Namespace
HelixToolkit.Wpf
Assembly
HelixToolkit.Wpf.dll

Markupextension for Image brushes

public sealed class ImageBrushExtension : MarkupExtension
Inheritance
ImageBrushExtension
Inherited Members

Examples

Fill={helix:ImageBrush images\\myimage.png}

Constructors

ImageBrushExtension(string)

Initializes a new instance of the ImageBrushExtension class.

public ImageBrushExtension(string uri)

Parameters

uri string

The uri.

Properties

UriKind

Gets or sets the kind of the URI.

public UriKind UriKind { get; set; }

Property Value

UriKind

The kind of the URI.

Methods

ProvideValue(IServiceProvider)

When implemented in a derived class, returns an object that is set as the value of the target property for this markup extension.

public override object ProvideValue(IServiceProvider serviceProvider)

Parameters

serviceProvider IServiceProvider

Object that can provide services for the markup extension.

Returns

object

The object value to set on the property where the extension is applied.