public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { var xamarinFormsFont = (Font)value; //Need a TextBlock so that I can call the extension method var tempTextBlock = new TextBlock(); tempTextBlock.ApplyFont(xamarinFormsFont); return(tempTextBlock.FontWeight); }