Class IconExtension
A markup extension to show simplic icons
Inheritance
System.Object
System.Windows.Markup.MarkupExtension
IconExtension
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Icon.UI
Assembly: Simplic.Icon.UI.dll
Syntax
public class IconExtension : MarkupExtension
Constructors
| Improve this Doc View SourceIconExtension()
Declaration
public IconExtension()
Properties
| Improve this Doc View SourceName
Icon name to be searched in the db
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceProvideValue(IServiceProvider)
Returns a System.Windows.Media.Imaging.BitmapImage of a given icons name
Declaration
public override object ProvideValue(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | serviceProvider |
Returns
Type | Description |
---|---|
System.Object | System.Windows.Media.Imaging.BitmapImage |
Overrides
System.Windows.Markup.MarkupExtension.ProvideValue(System.IServiceProvider)