Skip to content

RatingControl class

Attributes: [ToolboxItem(true)] [ToolboxBitmap] [TemplatePart] [TemplatePart] [TemplatePart] [TemplatePart] [TemplatePart]

Defined in

Namespace: CrissCross.WPF.UI.Controls Assembly: CrissCross.WPF.UI.dll Full name: CrissCross.WPF.UI.Controls.RatingControl Modifiers: public

Summary

        Displays the rating scale with interactions.
        

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

Class hierarchy
classDiagram
class RatingControl
class ContentControl
ContentControl <|-- RatingControl

Inherits from: ContentControl

Constructors

NameSummary
.ctor

Properties

NameSummary
ValueGets or sets the rating value.
MaxRatingGets or sets the maximum allowed rating value.
HalfStarEnabledGets or sets a value indicating whether gets or sets the value deciding whether half of the star can be selected.

Fields

NameSummary
static ValuePropertyProperty for [Value](#
static MaxRatingPropertyProperty for [MaxRating](#
static HalfStarEnabledPropertyProperty for [HalfStarEnabled](#
static ValueChangedEventRouted event for [ValueChanged](#

Methods

NameSummary
OnApplyTemplateIs called when Template is changed.
OnValueChangedIs called when [Value](# changes.
OnMouseLeaveIs called when mouse is moved away from the control.
OnMouseMoveIs called when mouse is moved around the control.
OnMouseDownIs called when mouse is cliked down.
OnKeyUpIs called after lifting a keyboard key.

Events

NameSummary
ValueChangedOccurs after the user selects the rating.
Inherited members