CustomPopupPlacement(Point, PopupPrimaryAxis) 构造函数

定义

初始化 CustomPopupPlacement 结构的新实例。

public:
 CustomPopupPlacement(System::Windows::Point point, System::Windows::Controls::Primitives::PopupPrimaryAxis primaryAxis);
public CustomPopupPlacement (System.Windows.Point point, System.Windows.Controls.Primitives.PopupPrimaryAxis primaryAxis);
new System.Windows.Controls.Primitives.CustomPopupPlacement : System.Windows.Point * System.Windows.Controls.Primitives.PopupPrimaryAxis -> System.Windows.Controls.Primitives.CustomPopupPlacement
Public Sub New (point As Point, primaryAxis As PopupPrimaryAxis)

参数

point
Point

相对于放置 Point 的左上角的 PlacementTargetPopup

primaryAxis
PopupPrimaryAxis

当屏幕边界遮盖 PopupPrimaryAxis 控件时该控件移动所沿的 Popup

适用于