,

Displaying Text Using the TextBlock

The TextBlock is an essential element in most Windows Phone XAML apps. It represents a section of text and is normally used to label controls or control groups. The TextBlock supports word wrapping, so that long runs of text are not hidden when they exceed the width of the control. The following code shows how to create a TextBlock in XAML, using the built-in PhoneTextNormalStyle:

<TextBlock Text="Windows Phone 8 Unleashed"
    Style="{StaticResource PhoneTextNormalStyle}" />

Alternatively, the TextBlock also allows you to nest content within the TextBlock element, like so:

<TextBlock Style="{StaticResource LabelTextStyle}">
    Windows Phone 8 Unleashed
</TextBlock>

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.68.50