Export (0) Print
Expand All

CustomPopupPlacement Structure

Defines custom placement parameters for a Popup control.

Namespace:  System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public struct CustomPopupPlacement
<CustomPopupPlacement .../>

The CustomPopupPlacement type exposes the following members.

  NameDescription
Public methodCustomPopupPlacementInitializes a new instance of the CustomPopupPlacement structure.
Top

  NameDescription
Public propertyPointGets or sets the point that is relative to the target object where the upper-left corner of the Popup control is placedl.
Public propertyPrimaryAxisGets or sets the direction in which to move a Popup control when the Popup is obscured by screen boundaries.
Top

  NameDescription
Public methodEqualsCompares this structure with another CustomPopupPlacement structure to determine whether they are equal. (Overrides ValueType.Equals(Object).)
Public methodGetHashCodeGets the hash code for this structure. (Overrides ValueType.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)
Top

  NameDescription
Public operatorStatic memberEqualityCompares two CustomPopupPlacement structures to determine whether they are equal.
Public operatorStatic memberInequalityCompares two CustomPopupPlacement structures to determine whether they are not equal.
Top

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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