windowsforms-devexpress-dot-utils-dot-flyoutpaneloptions.md
Gets or sets the position at which the FlyoutPanel is displayed relative to its owner (FlyoutPanel.OwnerControl).
Namespace : DevExpress.Utils
Assembly : DevExpress.Utils.v25.2.dll
NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core
[DXCategory("Layout")]
public PopupToolWindowAnchor AnchorType { get; set; }
<DXCategory("Layout")>
Public Property AnchorType As PopupToolWindowAnchor
| Type | Description |
|---|---|
| PopupToolWindowAnchor |
The position at which the FlyoutPanel is displayed relative to its owner.
|
Available values:
| Name | Description |
|---|---|
| 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.
|
You can access this nested property as listed below:
| Object Type | Path to AnchorType |
|---|---|
| FlyoutPanel |
.Options .AnchorType
|
The AnchorType property allows you to display the FlyoutPanel:
stretched along the top, right, bottom or left edge of the FlyoutPanel.OwnerControl;
in its original size in the top left or top right corner of the FlyoutPanel.OwnerControl;
in its original size at any position relative to the top left corner of the FlyoutPanel.OwnerControl;
Note
This property is ignored for beak panels.
See Also