0

ユーザーが「...」をクリックすると、いくつかのボタンとメニュー項目を含むアプリケーションバーがあります。とにかく、アイコンの意味が一目でわかりにくいものがあることに気付きました。

アイコンの下にテキストを表示する方法はありますか? もちろん、ユーザーが「...」をクリックしたときに表示されますが、メニュー項目でも表示されたくないのです。

誰かがそれをしましたか?

4

2 に答える 2

1

標準ではできません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>

ページの下部に配置します。ただし、標準のアプリバーの動作をエミュレートするために多くの時間を費やす準備をしてください。私はそれが良い考えだとは思いません。

于 2012-09-13T19:59:28.037 に答える
1

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>
于 2012-09-13T09:30:46.307 に答える