Ready, @Karel gave me the idea to solve it:
First create a class where you will convert the text into icon:
public class TextToIcon : IValueConverter
{
public object Convert(object value, Type targetType = null, object parameter = null, string language = null)
{
FontAwesomeIcon item;
if (value != null && Enum.TryParse(value.ToString(), out item))
return item;
else
return FontAwesomeIcon.None;
}
public object ConvertBack(object value, Type targetType, object parameter, string language)
{
return null;
}
}
Then I add it to a Resource Dictionary in XAML:
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:c="using:Proyecto.Converters"> <!-- este es el using del namespace de la clase convertidora -->
<c:ImageToVisible x:Key="ImageToVisible.conv"/>
</ResourceDictionary>
And now on the page, where I am editing the view, I do so:
<StackPanel>
<Viewbox MaxHeight="35" Width="70">
<fa:FontAwesome Icon="{x:Bind Icono, Converter={StaticResource TextToIcon.conv}}" Foreground="#f1c40f"/>
</Viewbox>
</StackPanel>
And now the Binding is full on the Icon