TextDecorations and FontWeight Property in TextBlock-Element not working

Please report bugs here. If you are unsure whether something is a bug or an expected behavior, please post it on the "Technical Support" forum instead, and wait for a moderator to handle/move the post.
Martin Funk
Posts: 3
Joined: Mon Jan 25, 2016 7:30 am

TextDecorations and FontWeight Property in TextBlock-Element not working

Postby Martin Funk » Tue Jan 26, 2016 12:32 am

Hi,

I have a problem when I try to set the TextDecoration or the FontWeight property in a TextBlock-Element.
An exception with the following error message is thrown: "Unable to find a converter from "String" to "System.Nullable`1"
This occurs in the MainPage.xaml.g.cs file at line:
TextBlock_e9df5689c07d411c85135d0bb182750a.TextDecorations = (global::System.Nullable<global::Windows.UI.Text.TextDecorations>)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Nullable<global::Windows.UI.Text.TextDecorations>), @"underline");

Also attached a screenshot from the exception:
[img]Clipboard01.jpg[/img]

Thanks for support!
Martin
Attachments
Clipboard01.jpg
Clipboard01.jpg (28.62 KiB) Viewed 11824 times

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 40 guests

 

 

cron