<AppBarButton Label="ラベル">
<AppBarButton.Icon>
<SymbolIcon Symbol="アイコン名" />
</AppBarButton.Icon>
</AppBarButton>
※リストが表示されない場合
AddBlockなどの広告ブロックツールがONになっているとリストなどが表示されない場合があります。これらのツールをOFFにしてみてください。
<Page
x:Class="App1.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:App1"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<TextBlock x:Name="textblock1" HorizontalAlignment="Left" Margin="113,78,0,0"
TextWrapping="Wrap" Text="Win 8 App" VerticalAlignment="Top"
Height="67" Width="1052" FontSize="48"/>
<AppBar Background="#33ff00ff" >
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal">
<AppBarButton Label="Button1">
<AppBarButton.Icon>
<SymbolIcon Symbol="Home" />
</AppBarButton.Icon>
</AppBarButton>
<AppBarButton Label="Button2">
<AppBarButton.Icon>
<SymbolIcon Symbol="Help" />
</AppBarButton.Icon>
</AppBarButton>
</StackPanel>
</Grid>
</AppBar>
</Grid>
</Page>
| << 前へ | 次へ >> |