■ Label 엘리먼트를 사용하는 방법을 보여준다.
▶ 예제 코드 (XAML)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<Label HorizontalOptions="Center" SemanticProperties.HeadingLevel="Level1" FontSize="32" Text="Hello, World!" /> <Label HorizontalOptions="Center" SemanticProperties.HeadingLevel="Level1" SemanticProperties.Description="Welcome to dot net Multi platform App UI" FontSize="18" Text="Welcome to .NET Multi-platform App UI" /> <Label HorizontalOptions="Center" FontSize="18" FontAttributes="Bold" Text="Current count : 0" /> |