SeparatorControl.LineAlignment Property
In This Article
Gets or sets the alignment of the separating line within the control client area.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
[DefaultValue(Alignment.Default)]
[DXCategory("Layout")]
public Alignment LineAlignment { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
DevExpress. |
Default | A DevExpress. |
#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