A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

40 lines
995 B

using Avalonia.Controls.Primitives;
namespace Avalonia.Controls
{
/// <summary>
/// Defines the placement for a <see cref="Popup"/> control.
/// </summary>
public enum PlacementMode
{
/// <summary>
/// The popup is placed at the pointer position.
/// </summary>
Pointer,
/// <summary>
/// The popup is placed at the bottom left of its target.
/// </summary>
Bottom,
/// <summary>
/// The popup is placed at the top right of its target.
/// </summary>
Right,
/// <summary>
/// The popup is placed at the top left of its target.
/// </summary>
Left,
/// <summary>
/// The popup is placed at the top left of its target.
/// </summary>
Top,
/// <summary>
/// The popup is placed according to anchor and gravity rules
/// </summary>
AnchorAndGravity
}
}