CustomPopupPlacement CustomPopupPlacement CustomPopupPlacement 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
CustomPopupPlacementCustomPopupPlacementCustomPopupPlacementCustomPopupPlacement

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) CustomPopupPlacement(Point, PopupPrimaryAxis) CustomPopupPlacement(Point, PopupPrimaryAxis) CustomPopupPlacement(Point, PopupPrimaryAxis)

Initializes a new instance of the CustomPopupPlacement structure.

Properties

Point Point Point 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 PrimaryAxis PrimaryAxis PrimaryAxis

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compares this structure with another CustomPopupPlacement structure to determine whether they are equal.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Gets the hash code for this structure.

Operators

Equality(CustomPopupPlacement, CustomPopupPlacement) Equality(CustomPopupPlacement, CustomPopupPlacement) Equality(CustomPopupPlacement, CustomPopupPlacement) Equality(CustomPopupPlacement, CustomPopupPlacement)

Compares two CustomPopupPlacement structures to determine whether they are equal.

Inequality(CustomPopupPlacement, CustomPopupPlacement) Inequality(CustomPopupPlacement, CustomPopupPlacement) Inequality(CustomPopupPlacement, CustomPopupPlacement) Inequality(CustomPopupPlacement, CustomPopupPlacement)

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

Applies to

See also