IconUriBindingExtension

Ecng.Xaml

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

Inherits: MarkupExtension

Constructors

IconUriBindingExtension(BindingBase)

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

Properties

Methods

ProvideValue(IServiceProvider) : object

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

serviceProvider
A service provider helper that can provide services for the markup extension.

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