微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何将 ActivityIndi​​cator 添加到 shell 弹出窗口

如何解决如何将 ActivityIndi​​cator 添加到 shell 弹出窗口

我在 shell 的 FlyoutFooter添加一个注销按钮。点击后,连接服务器需要一定的等待时间,所以需要在弹出窗口中添加ActivityIndicator

  <Shell.FlyoutFooter>
        <Grid>
            <Button Text="logout"
                    Clicked="Button_Clicked"/>
        </Grid>
    </Shell.FlyoutFooter>

我如何在那里添加它?

解决方法

您可以使用 FlyoutContent 属性:

+-----+---------+-----+
| col1| Max_col2| col3|
+-----+---------+-----+
|    1|      700|  12 |
|    2|      800|  15 |
+-----+---------+-----+
   <Shell.FlyoutFooter>
        <Grid>
            <Button Text="Logout"
                    Clicked="Button_Clicked"/>
        </Grid>
    </Shell.FlyoutFooter>

enter image description here enter image description here

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。