【发布时间】:2013-03-29 14:32:26
【问题描述】:
如何将Popup 控件置于调用它的BottomAppBar Button 之上?
【问题讨论】:
标签: popup position winrt-xaml css-position
如何将Popup 控件置于调用它的BottomAppBar Button 之上?
【问题讨论】:
标签: popup position winrt-xaml css-position
您需要参考 BottomAppBar 来定位它。
popup.VerticalOffset = Window.Current.Bounds.Height - offset;
offset是到屏幕底部的距离
您可以对HorizontalOffset 执行相同的操作,其中HorizontalOffset 将是您希望弹出窗口的按钮的位置。
【讨论】:
使用Callisto的Flyout,简单高效click here
【讨论】: