Back to Devexpress

PopupToolWindowAnchor Enum

windowsforms-devexpress-dot-utils-dot-win.md

latest3.2 KB
Original Source

PopupToolWindowAnchor Enum

Contains values that specify the position at which a FlyoutPanel is displayed relative to its owner.

Namespace : DevExpress.Utils.Win

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
public enum PopupToolWindowAnchor
vb
Public Enum PopupToolWindowAnchor

Members

NameDescription
TopRight

The panel is displayed at the owner’s top right corner in the original size specified by the Size property. When using the PopupToolWindowAnimation.Slide animation effect, the panel slides from top to bottom. Use the FlyoutPanelOptions.HorzIndent and FlyoutPanelOptions.VertIndent properties to shift the display position inward from the top right corner.

| | TopLeft |

The panel is displayed at the owner’s top left corner in the original size specified by the Size property. When using the PopupToolWindowAnimation.Slide animation effect, the panel slides from top to bottom. Use the FlyoutPanelOptions.HorzIndent and FlyoutPanelOptions.VertIndent properties to shift the display position inward from the top left corner.

| | Top |

The panel, when displayed, is stretched along the owner’s top edge.

| | Bottom |

The panel, when displayed, is stretched along the owner’s bottom edge.

| | Left |

The panel, when displayed, is stretched along the owner’s left edge.

| | Right |

The panel, when displayed, is stretched along the owner’s right edge.

| | Center |

The panel is displayed at the center of the owner. The display size is specified by the panel’s Size property.

| | Manual |

The panel is displayed at the position specified by the FlyoutPanelOptions.Location property.

|

The following properties accept/return PopupToolWindowAnchor values:

Remarks

Use the FlyoutPanelOptions.AnchorType property to control the position at which a FlyoutPanel is displayed relative to its owner (FlyoutPanel.OwnerControl).

See Also

AnchorType

DevExpress.Utils.Win Namespace