XAML - Value changed over a value converter for a Material Icon
AUU
1
Reputation point
Hi there,
I am trying to add a Material character into a form using a converter based on a binding value.
When I use the hex desc directly it shows fine, if I use the converter, it is showing something weird.
**<Label Text="" FontSize="14" FontFamily="Material" TextColor="blue"/>
<Label Text="{Binding AttType, Converter={StaticResource categoryToImageConverter}}" FontSize="14" FontFamily="Material" TextColor="red"/>**
**public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
//return "ABCXX";
return "";
}**
Sign in to answer