![]() Instead of manually setting FontSize, we’re going to make use of one of the existing TextBlock styles. Next, let’s increase the size of the text. However because text flows from the top-left, the word TextBlock is in the top left corner of the page. Now the TextBlock has been reposition to take up the whole page. Right-click on the TextBlock in the Objects and Timelines tool window and select Reset All from the Layout menu. If we take a look at the XAML you’ll note that a very arbitrary margin has been set on the TextBlock Layout – Reset All ![]() If I just click and drag the TextBlock onto the design surface, Blend will add the control where I drop it. We’ll use the Assets tool window to locate the TextBlock control using the search function. Let’s start to add some controls to the page.
0 Comments
Leave a Reply. |