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.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
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 |
|
Remarks
The AnchorType property allows you to display the FlyoutPanel:
stretched along the top, right, bottom or left edge of the FlyoutPanel.OwnerControl;
Set the AnchorType property to Top, Right, Bottom or Left to accomplish this.
in its original size in the top left or top right corner of the FlyoutPanel.OwnerControl;
Set the AnchorType property to TopLeft or TopRight. In these modes, you can shift the panel inward from the corners by specifying the FlyoutPanelOptions.HorzIndent and FlyoutPanelOptions.VertIndent properties.
in its original size at any position relative to the top left corner of the FlyoutPanel.OwnerControl;
Set the AnchorType property to Manual and specify the position with the FlyoutPanelOptions.Location property.
Note
This property is ignored for beak panels.