Click or drag to resize

StringToResourceConverter Class

This converter is used to convert a String value to an UI Element. especially used in IconKey Property.
Inheritance Hierarchy
SystemObject
  Hummingbird.UI.ConvertersStringToResourceConverter

Namespace:  Hummingbird.UI.Converters
Assembly:  Hummingbird.UI (in Hummingbird.UI.dll) Version: 1.1.0.0
Syntax
public class StringToResourceConverter : IValueConverter

The StringToResourceConverter type exposes the following members.

Constructors
  NameDescription
Public methodStringToResourceConverter
Initializes a new instance of the StringToResourceConverter class
Top
Methods
  NameDescription
Public methodConvert
Converts a value.
Public methodConvertBack
Converts a value.
Top
Remarks
The accept string are:
  • "appbar_*" for built-in XAML vector icons, usable for all version of Windows.
  • "symbol_*" for Icons defined in Segoe UI Symbol font, available in Windows 8, Windows 8.1 and Windows 10
  • "mdl2_*" for Icons defined in Segoe UI MDL2 Asset font, available in Windows 10
See Also