Font-Awesome-WPF icon indicating copy to clipboard operation
Font-Awesome-WPF copied to clipboard

Awesome.Content attached property does not support converting from string

Open realies opened this issue 8 years ago • 4 comments

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

realies avatar Mar 01 '16 14:03 realies

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

charri avatar Mar 01 '16 15:03 charri

Am I supposed to override something with this?

realies avatar Mar 01 '16 16:03 realies

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?)

charri avatar Mar 01 '16 20:03 charri

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

realies avatar Mar 02 '16 09:03 realies