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">
<Grid
Background="{StaticResource ApplicationPageBackgroundThemeBrush}"
Padding="10">
<Border
HorizontalAlignment="Center"
VerticalAlignment="Center"
BorderBrush="Red"
BorderThickness="10"
CornerRadius="30"
Background="Yellow">
<TextBlock
Margin="20"
FontSize="96"
Foreground="Blue"
Text="Hello World!" />
</Border>
</Grid>
</Page>
728x90
반응형
그리드형(광고전용)
'C# > UWP' 카테고리의 다른 글
[C#/UWP] WinUI 앱 사용하기 (0) | 2021.05.01 |
---|---|
[C#/UWP] 누겟 설치 : Microsoft.UI.Xaml (0) | 2021.05.01 |
[C#/UWP] StackPanel 클래스 사용하기 (0) | 2019.02.27 |
[C#/UWP] StackPanel 클래스 사용하기 (0) | 2019.02.27 |
[C#/UWP] Ellipse 클래스 사용하기 (0) | 2019.02.27 |
[C#/UWP] Border 클래스 사용하기 (0) | 2019.02.27 |
[C#/UWP] CompositionTarget 클래스 : Rendering 정적 이벤트 사용하기 (0) | 2019.02.22 |
[C#/UWP] CompositionTarget 클래스 : Rendering 정적 이벤트 사용하기 (0) | 2019.02.22 |
[C#/UWP] CompositionTarget 클래스 : Rendering 정적 이벤트 사용하기 (0) | 2019.02.22 |
[C#/UWP] CompositionTarget 클래스 : Rendering 정적 이벤트 사용하기 (0) | 2019.02.22 |
댓글을 달아 주세요