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

RepositoryItemRatingControl.RatingOrientation Property

Gets or sets the rating items’ orientation within the RatingControl.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(Orientation.Horizontal)]
public Orientation RatingOrientation { get; set; }

Property Value

Type Default Description
Orientation **Horizontal**

An Orientation enumerator value that specifies the rating items’ orientation within the RatingControl.

Remarks

Depending on the RatingOrientation property, rating items can be arranged into a column or row. This property affects only rating items, while the control text (the RatingControl.Text property) always remains horizontally oriented.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RatingOrientation 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