CustomPopupPlacement Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines custom placement parameters for a Popup control.
public value class CustomPopupPlacement
public struct CustomPopupPlacement
type CustomPopupPlacement = struct
Public Structure CustomPopupPlacement
- Inheritance
Remarks
The CustomPopupPlacement structure defines a location for a Popup control with respect to its parent, and defines how the Popup moves to become more visible when it is obscured by a screen boundary.
A System.Windows.Controls.Primitives.CustomPopupPlacementCallback delegate returns an array of these structures as custom placement options for a Popup when the Placement property is set to Custom.
Constructors
CustomPopupPlacement(Point, PopupPrimaryAxis) |
Initializes a new instance of the CustomPopupPlacement structure. |
Properties
Point |
Gets or sets the point that is relative to the target object where the upper-left corner of the Popup control is placed. |
PrimaryAxis |
Gets or sets the direction in which to move a Popup control when the Popup is obscured by screen boundaries. |
Methods
Equals(Object) |
Compares this structure with another CustomPopupPlacement structure to determine whether they are equal. |
GetHashCode() |
Gets the hash code for this structure. |
Operators
Equality(CustomPopupPlacement, CustomPopupPlacement) |
Compares two CustomPopupPlacement structures to determine whether they are equal. |
Inequality(CustomPopupPlacement, CustomPopupPlacement) |
Compares two CustomPopupPlacement structures to determine whether they are not equal. |
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應