ユーザーが「...」をクリックすると、いくつかのボタンとメニュー項目を含むアプリケーションバーがあります。とにかく、アイコンの意味が一目でわかりにくいものがあることに気付きました。
アイコンの下にテキストを表示する方法はありますか? もちろん、ユーザーが「...」をクリックしたときに表示されますが、メニュー項目でも表示されたくないのです。
誰かがそれをしましたか?
ユーザーが「...」をクリックすると、いくつかのボタンとメニュー項目を含むアプリケーションバーがあります。とにかく、アイコンの意味が一目でわかりにくいものがあることに気付きました。
アイコンの下にテキストを表示する方法はありますか? もちろん、ユーザーが「...」をクリックしたときに表示されますが、メニュー項目でも表示されたくないのです。
誰かがそれをしましたか?
標準ではできませんApplicationBar
。私が言ったように、デフォルトの振る舞いはテキストを隠すことです。
また、WP7 ユーザーには特別なユーザー エクスペリエンスがあるため、アイコンの意味を理解できない場合は、"..." を押してテキストを読みます。
ただし、一部のシナリオではアプリバーをエミュレートできます。
<Border Background="{some gray color from phone resources}">
<StackPannel Orientation="Horisontal">
<Button Content={Binding TextB} Command="{Binging CommandA}"
Style="{your appbar-like template}"/>
<Button Content={Binding TextB} Command="{Binging CommandB}"
Style="{your appbar-like template}"/>
</StackPannel>
</Border>
ページの下部に配置します。ただし、標準のアプリバーの動作をエミュレートするために多くの時間を費やす準備をしてください。私はそれが良い考えだとは思いません。
shell:ApplicationBar を使用して Text プロパティを設定するだけです
<shell:ApplicationBar x:Name="dialogsPageAppbar">
<shell:ApplicationBarIconButton IconUri="/images/Icons/appbar.add.rest.png" Text="create"/>
<shell:ApplicationBarIconButton IconUri="/images/Icons/appbar.refresh.rest.png" Text="refresh"/>
<shell:ApplicationBarIconButton IconUri="/images/Icons/appbar.feature.search.rest.png" Text="search"/>
<shell:ApplicationBar.MenuItems>
<shell:ApplicationBarMenuItem Text="settings" />
</shell:ApplicationBar.MenuItems>
</shell:ApplicationBar>