S
S
Slavka2017-02-14 11:26:22
.NET
Slavka, 2017-02-14 11:26:22

Font size dependent on screen resolution?

How to establish a connection between the screen resolution and the size of the fonts on the window? I'm thinking of making the font size as a dynamic resource, but I don't know how to implement it

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lnked, 2017-02-14
@lnked

Is this what you need?

T
Tom Nolane, 2017-02-14
@tomnolane

Through binding: poke
(p.s. only instead of a slider - screen size)

System.Windows.SystemParameters.PrimaryScreenWidth;
System.Windows.SystemParameters.PrimaryScreenHeight;

p.s.s. add.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question