Table of Contents

Class ManagedPopupPositionerPopupImplHelper

Namespace
Avalonia.Controls.Primitives.PopupPositioning
Assembly
Avalonia.Controls.dll

This class is used to simplify integration of IPopupImpl implementations with popup positioner

[PrivateApi]
public class ManagedPopupPositionerPopupImplHelper : IManagedPopupPositionerPopup
Inheritance
ManagedPopupPositionerPopupImplHelper
Implements
Inherited Members

Constructors

ManagedPopupPositionerPopupImplHelper(ITopLevelImpl, MoveResizeDelegate)

public ManagedPopupPositionerPopupImplHelper(ITopLevelImpl parent, ManagedPopupPositionerPopupImplHelper.MoveResizeDelegate moveResize)

Parameters

parent ITopLevelImpl
moveResize ManagedPopupPositionerPopupImplHelper.MoveResizeDelegate

Properties

ParentClientAreaScreenGeometry

public Rect ParentClientAreaScreenGeometry { get; }

Property Value

Rect

Scaling

public virtual double Scaling { get; }

Property Value

double

Screens

public IReadOnlyList<ManagedPopupPositionerScreenInfo> Screens { get; }

Property Value

IReadOnlyList<ManagedPopupPositionerScreenInfo>

Methods

MoveAndResize(Point, Size)

public void MoveAndResize(Point devicePoint, Size virtualSize)

Parameters

devicePoint Point
virtualSize Size