CustomPopupPlacement Struct
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
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.
Custom |
Initializes a new instance of the CustomPopupPlacement structure. |
Point |
Gets or sets the point that is relative to the target object where the upper-left corner of the Popup control is placed. |
Primary |
Gets or sets the direction in which to move a Popup control when the Popup is obscured by screen boundaries. |
Equals(Object) |
Compares this structure with another CustomPopupPlacement structure to determine whether they are equal. |
Get |
Gets the hash code for this structure. |
Equality(Custom |
Compares two CustomPopupPlacement structures to determine whether they are equal. |
Inequality(Custom |
Compares two CustomPopupPlacement structures to determine whether they are not equal. |
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: