IconUriBindingExtension

Ecng.Xaml

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

继承自: MarkupExtension

构造函数

IconUriBindingExtension(BindingBase)

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

属性

方法

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.

返回值: The object value to set on the property where the extension is applied.