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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기