CustomPopupPlacement Structure

 

Defines custom placement parameters for a Popup control.

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

public struct CustomPopupPlacement

NameDescription
System_CAPS_pubmethodCustomPopupPlacement(Point, PopupPrimaryAxis)

Initializes a new instance of the CustomPopupPlacement structure.

NameDescription
System_CAPS_pubpropertyPoint

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

System_CAPS_pubpropertyPrimaryAxis

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

NameDescription
System_CAPS_pubmethodEquals(Object)

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

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodToString()

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

NameDescription
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
Show: