Skip to main content

RepositoryItemRatingControl.RatingLocation Property

Gets or sets the rating item positioning within this RatingControl.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

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