Skip to main content

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.v24.2.dll

Declaration

[DXCategory("Layout")]
public PopupToolWindowAnchor AnchorType { get; set; }

Property Value

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.

Property Paths

You can access this nested property as listed below:

Object Type Path 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