Editar

Partilhar via


CustomPopupPlacement Struct

Definition

Defines custom placement parameters for a Popup control.

public value class CustomPopupPlacement
public struct CustomPopupPlacement
type CustomPopupPlacement = struct
Public Structure CustomPopupPlacement
Inheritance
CustomPopupPlacement

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