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

RepositoryItemRatingControl.RatingLocation Property

Gets or sets the rating item positioning within this RatingControl.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(ItemLocation.Default)]
public virtual ItemLocation RatingLocation { get; set; }

Property Value

Type Default Description
DevExpress.Utils.Drawing.ItemLocation **Default**

An DevExpress.Utils.Drawing.ItemLocation enumerator value that specifies the rating item positioning within this RatingControl

Remarks

If the rating control’s RepositoryItemRatingControl.AutoSize property is set to false, the control may occupy more space than its rating items require. In this case, you may use the RatingLocation property to manually align these items to the specific control region’s edge.

The default RatingLocation property value aligns all rating items to the control region’s center.

See Also