728x90
반응형
728x170
▶ MainPage.xaml
<Page x:Class="TestProject.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
FontFamily="나눔고딕코딩"
FontSize="16">
<Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
<TextBlock Width="600"
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontSize="24"
TextWrapping="Wrap">
Here is text in a <Run FontFamily="Times New Roman">Times New Roman</Run> font,
as well as text in a <Run FontSize="36">36-pixel</Run> height.
<LineBreak /><LineBreak />Here is some <Bold>bold</Bold> and here is some
<Italic>italic</Italic> and here is some
<Underline>underline</Underline> and here is some
<Bold>
<Italic>
<Underline>bold italic underline and
<Span FontSize="36">bigger and <Span Foreground="Red">Red</Span> as well</Span>
</Underline>
</Italic>
</Bold>.
</TextBlock>
</Grid>
</Page>
728x90
반응형
그리드형(광고전용)
'C# > UWP' 카테고리의 다른 글
[C#/UWP] ImageBrush 엘리먼트 사용하기 (0) | 2019.01.28 |
---|---|
[C#/UWP] Polyline 클래스 : Stretch 속성 사용하기 (0) | 2019.01.28 |
[C#/UWP] Polyline 클래스 : 아르키메데스 나선(Archimedes Spiral) 그리기 (0) | 2019.01.28 |
[C#/UWP] ResourceDictionary 엘리먼트 : MergedDictionaries 사용해 리소스 파일 병합하기 (0) | 2019.01.28 |
[C#/UWP] x:Key 속성을 사용해 리소스 사용하기 (0) | 2019.01.27 |
[C#/UWP] LinearGradientBrush 클래스 사용하기 (0) | 2019.01.27 |
[C#/UWP] LinearGradientBrush 클래스 : GradientStops 속성 사용하기 (0) | 2019.01.27 |
[C#/UWP] 최소 실행 코드 사용하기 (0) | 2019.01.27 |
[C#/UWP] BitmapImage 클래스 : UriSource 속성을 사용해 리소스 이미지 표시하기 (0) | 2019.01.27 |
[C#/UWP] x:Name 속성 사용하기 (0) | 2019.01.27 |
댓글을 달아 주세요