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

SeparatorControl.LineAlignment Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v19.1.dll

Declaration

[DefaultValue(Alignment.Default)]
[DXCategory("Layout")]
[SmartTagProperty("Line Alignment", "", 0)]
public Alignment LineAlignment { get; set; }

Property Value

Type Default Description
DevExpress.XtraEditors.Alignment **Default**

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