Back to Devexpress

FlyoutPanelOptions.HorzIndent Property

windowsforms-devexpress-dot-utils-dot-flyoutpaneloptions-1774ed43.md

latest2.9 KB
Original Source

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

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

Declaration

csharp
[DXCategory("Layout")]
public int HorzIndent { get; set; }
vb
<DXCategory("Layout")>
Public Property HorzIndent As Integer

Property Value

TypeDescription
Int32

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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 :

See Also

AnchorType

ShowPopup

FlyoutPanelOptions Class

FlyoutPanelOptions Members

DevExpress.Utils Namespace