Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

FlyoutPanelOptions.HorzIndent Property

Gets or sets the panel’s horizontal indent from the owner’s top left or top right corner when the FlyoutPanelOptions.AnchorType property is set to TopLeft or TopRight.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

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

#Declaration

[DXCategory("Layout")]
public int HorzIndent { get; set; }

#Property Value

Type Description
Int32

The panel’s horizontal indent from a corner, in pixels.

#Property Paths

You can access this nested property as listed below:

Object Type Path to HorzIndent
FlyoutPanel
.Options .HorzIndent

#Remarks

The HorzIndent and FlyoutPanelOptions.VertIndent properties are in effect when the FlyoutPanelOptions.AnchorType property is set to TopLeft or TopRight.

If the HorzIndent property is set to 0, the panel is displayed in a corresponding corner without a horizontal indent. If the HorzIndent property is set to a positive value, the panel is horizontally shifted towards the owner’s center. The same points apply to the FlyoutPanelOptions.VertIndent property, which specifies a vertical indent from a corner.

The following image shows a FlyoutPanel whose FlyoutPanelOptions.AnchorType property is set to TopRight, FlyoutPanelOptions.HorzIndent to 50 and FlyoutPanelOptions.VertIndent to 15:

flyoutPanel-horz-and-vert-indents.png

See Also