Table of Contents

Class IconUriBindingExtension

Namespace
Ecng.Xaml
Assembly
StockSharp.Xaml.dll

Extension receives binding for icon (svg/png) and creates image source binding which will auto update when theme changed.

public class IconUriBindingExtension : MarkupExtension
Inheritance
IconUriBindingExtension
Inherited Members
Extension Methods

Constructors

IconUriBindingExtension(BindingBase)

public IconUriBindingExtension(BindingBase binding)

Parameters

binding BindingBase

Properties

Binding

public BindingBase Binding { get; }

Property Value

BindingBase

Methods

ProvideValue(IServiceProvider)

public override object ProvideValue(IServiceProvider serviceProvider)

Parameters

serviceProvider IServiceProvider

Returns

object