c# - Dynamic TextSize in WPF UIElements -
As suggested, I have a dynamic size of all my WPF UIElement s However, to specify the size of the font in TextBlock , it means that when the size of the element increases or decreases, then the font size remains the same. is. font is there a way to get the shape dynamic? Try entering
Text inside the control in a Viewbox : < / P>
& lt; Button & gt; & Lt; Viewbox & gt; & Lt; TextBlock & gt; To change the size of the text, click & lt; / TextBlock & gt; & Lt; / Viewbox & gt; & Lt; / Button & gt;
Comments
Post a Comment