Skip to main content
A newer version of this page is available. .

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.v19.1.dll

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