charri / Font-Awesome-WPF

FontAwesome controls for WPF+UWP
MIT License
530 stars 147 forks source link

Awesome.Content attached property does not support converting from string #26

Open realies opened 8 years ago

realies commented 8 years ago

XAML Designer fails to render buttons with Awesome.Content attached property. It compiles fine. VS14.0.24720.00 Update 1 / .NET 4.6.01038

PS: TextElement.FontFamily is in the resource dictionary. image

charri commented 8 years ago

did you see this comment?

I think this could be solved by providing a TypeConverter for the enum. i.e. [TypeConverter(typeof(FontAwesomeStringConverter))]

would be cool to have better vs designer support - will have a look into the problem

realies commented 8 years ago

Am I supposed to override something with this?

charri commented 8 years ago

Hmm strange, just tried out the demo project with visual studio 2015 (same build and .net version) and did not receive the error messages you describe. do you have any special project settings set? (warning level etc?)

realies commented 8 years ago

I've installed VS recently and haven't touched the default settings.