Back to Devexpress

FlyoutPanelOptions.AnchorType Property

windowsforms-devexpress-dot-utils-dot-flyoutpaneloptions.md

latest4.4 KB
Original Source

FlyoutPanelOptions.AnchorType Property

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

Declaration

csharp
[DXCategory("Layout")]
public PopupToolWindowAnchor AnchorType { get; set; }
vb
<DXCategory("Layout")>
Public Property AnchorType As PopupToolWindowAnchor

Property Value

TypeDescription
PopupToolWindowAnchor

The position at which the FlyoutPanel is displayed relative to its owner.

|

Available values:

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.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AnchorType
FlyoutPanel

.Options .AnchorType

|

Remarks

The AnchorType property allows you to display the FlyoutPanel:

Note

This property is ignored for beak panels.

See Also

AnimationType

ShowPopup

HidePopup

FlyoutPanelOptions Class

FlyoutPanelOptions Members

DevExpress.Utils Namespace