1

我正在使用 Xamarin.Form ShellFlyout。

我把所有页面都放在了页面中,<flyoutitem>以便页面显示Tabbar,但我希望只有 4 个元素tabbar(不想显示更多选项卡)。怎么办?

    <shell>
       <flyoutitem route="animals" flyoutdisplayoptions="AsMultipleItems">
          <shellcontent route="cats"/>
          <shellcontent route="dogs"/>
          <shellcontent route="monkeys"/>
          <shellcontent route="elephants"/>
          <shellcontent route="bears"/>
          <shellcontent route="about"/>
        </flyoutitem>
    </shell>

在此处输入图像描述

4

0 回答 0