Back to Devexpress

RepositoryItemRatingControl.RatingLocation Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemratingcontrol-bcd8c3a8.md

latest2.1 KB
Original Source

RepositoryItemRatingControl.RatingLocation Property

Gets or sets the rating item positioning within this RatingControl.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(ItemLocation.Default)]
[DXCategory("Appearance")]
public virtual ItemLocation RatingLocation { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(ItemLocation.Default)>
Public Overridable Property RatingLocation As ItemLocation

Property Value

TypeDefaultDescription
DevExpress.Utils.Drawing.ItemLocationDefault

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

RepositoryItemRatingControl Class

RepositoryItemRatingControl Members

DevExpress.XtraEditors.Repository Namespace