Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with FontSizePropertyProperty #4

Open
Ottokranz opened this issue Jan 22, 2021 · 0 comments
Open

Problem with FontSizePropertyProperty #4

Ottokranz opened this issue Jan 22, 2021 · 0 comments

Comments

@Ottokranz
Copy link

Is the DependencyProperty FontSizePropertyProperty actually working?
I created a FrameworkElementFactory based on the WpfHtmlControl and try to set the FontSizePropertyProperty, but the Fontsize doesent change. Binding to HtmlProperty works fine

FrameworkElementFactory factory = new FrameworkElementFactory(typeof(Html));
factory.SetValue(Html.FontSizePropertyProperty, 20d);
factory.SetBinding(Html.HtmlProperty, mb);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant