CustomPopupPlacement Structure


Defines custom placement parameters for a Popup control.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

Public Structure CustomPopupPlacement

System_CAPS_pubmethodCustomPopupPlacement(Point, PopupPrimaryAxis)

Initializes a new instance of the CustomPopupPlacement structure.


Gets or sets the point that is relative to the target object where the upper-left corner of the Popup control is placedl.


Gets or sets the direction in which to move a Popup control when the Popup is obscured by screen boundaries.


Compares this structure with another CustomPopupPlacement structure to determine whether they are equal.(Overrides ValueType.Equals(Object).)


Gets the hash code for this structure. (Overrides ValueType.GetHashCode().)


Gets the Type of the current instance.(Inherited from Object.)


Returns the fully qualified type name of this instance.(Inherited from ValueType.)

System_CAPS_puboperatorSystem_CAPS_staticEquality(CustomPopupPlacement, CustomPopupPlacement)

Compares two CustomPopupPlacement structures to determine whether they are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(CustomPopupPlacement, CustomPopupPlacement)

Compares two CustomPopupPlacement structures to determine whether they are not equal.

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.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top