Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RepositoryItemRatingControl.RatingLocation Property

Gets or sets the rating item positioning within this RatingControl.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(ItemLocation.Default)]
[DXCategory("Appearance")]
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