【问题标题】:WinRT Open Popup Above App Bar Button that invoked itWinRT Open Popup Above App Bar Button 调用它
【发布时间】:2013-03-29 14:32:26
【问题描述】:

如何将Popup 控件置于调用它的BottomAppBar Button 之上?

【问题讨论】:

    标签: popup position winrt-xaml css-position


    【解决方案1】:

    您需要参考 BottomAppBar 来定位它。

    popup.VerticalOffset = Window.Current.Bounds.Height - offset;
    

    offset是到屏幕底部的距离

    您可以对HorizontalOffset 执行相同的操作,其中HorizontalOffset 将是您希望弹出窗口的按钮的位置。

    【讨论】:

      【解决方案2】:

      使用Callisto的Flyout,简单高效click here

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2022-11-20
        • 1970-01-01
        • 2020-04-30
        • 1970-01-01
        • 2016-12-25
        • 2011-12-19
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多