Back to Devexpress

SeparatorControl.LineAlignment Property

windowsforms-devexpress-dot-xtraeditors-dot-separatorcontrol-7a0dd930.md

latest2.1 KB
Original Source

SeparatorControl.LineAlignment Property

Gets or sets the alignment of the separating line within the control client area.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
[DefaultValue(Alignment.Default)]
[DXCategory("Layout")]
public Alignment LineAlignment { get; set; }
vb
<DefaultValue(Alignment.Default)>
<DXCategory("Layout")>
Public Property LineAlignment As Alignment

Property Value

TypeDefaultDescription
DevExpress.XtraEditors.AlignmentDefault

A DevExpress.XtraEditors.Alignment enumeration value that specifies the alignment of the separating line within the control client area.

|

Remarks

The LineAlignment property specifies the alignment of the separating line on the control surface. The DevExpress.XtraEditors.Alignment enumeration provides the following values:

  • Default — equivalent to the Center value;
  • Center — the separating line is displayed in the center of the control client area;
  • Near — the separating line is aligned near to the origin position of the control rectangle. In a left-to-right layout, the near alignment is left. In a right-to-left layout, the near alignment is right;
  • Far — the separating line is aligned far from the origin position of the control rectangle. In a left-to-right layout, the far alignment is right. In a right-to-left layout, the far alignment is left.

See Also

SeparatorControl Class

SeparatorControl Members

DevExpress.XtraEditors Namespace