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

LabelControl.LineOrientation Property

Gets or sets the orientation of the LabelControl’s line.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DefaultValue(LabelLineOrientation.Default)]
[DXCategory("Appearance")]
public LabelLineOrientation LineOrientation { get; set; }

Property Value

Type Default Description
DevExpress.XtraEditors.LabelLineOrientation **Default**

A DevExpress.XtraEditors.LabelLineOrientation value that specifies the line’s orientation.

Remarks

Use the LabelControl.LineVisible property to display the LabelControl’s line. The LineOrientation property specifies the line’s orientation (horizontal or vertical). The line’s position relative to the text is specified by the LabelControl.LineLocation property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LineOrientation property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also