windowsforms-devexpress-dot-utils-dot-flyoutpaneloptions-1774ed43.md
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.v25.2.dll
NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core
[DXCategory("Layout")]
public int HorzIndent { get; set; }
<DXCategory("Layout")>
Public Property HorzIndent As Integer
| Type | Description |
|---|---|
| Int32 |
The panel’s horizontal indent from a corner, in pixels.
|
You can access this nested property as listed below:
| Object Type | Path to HorzIndent |
|---|---|
| FlyoutPanel |
.Options .HorzIndent
|
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 :
See Also