[]
Represents a item inside a C1Rating control.
[TemplatePart(Name = "RatedIconPresenter", Type = typeof(ContentControl))]
[TemplatePart(Name = "IconPresenter", Type = typeof(ContentControl))]
[TemplatePart(Name = "HoverIconPresenter", Type = typeof(ContentControl))]
[TemplatePart(Name = "MainPresenter", Type = typeof(Grid))]
[TemplatePart(Name = "ToolTip", Type = typeof(ToolTip))]
public class C1RatingItem : ContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
| Name | Description |
|---|---|
| C1RatingItem() | Initializes a new instance of a C1RatingItem. |
| Name | Description |
|---|---|
| HoveredBrushProperty | Identifies the HoveredBrush dependency property. |
| RatedBrushProperty | Identifies the RatedBrush dependency property. |
| ToolTipProperty | Identifies the ToolTip dependency property. |
| UnratedBrushProperty | Identifies the UnratedBrush dependency property. |
| Name | Description |
|---|---|
| HoveredBrush | Get or set background brush in a hovered state. |
| Index | Gets the index of this C1RatingItem in its parent items collection. |
| RatedBrush | Get or set background brush in a rated state. |
| Rating | Identifies the parent C1Rating of this item. |
| ToolTip | Gets or sets the tooltip of this control. |
| UnratedBrush | Get or set background brush in an unrated state. |
| Name | Description |
|---|---|
| OnApplyTemplate() | Builds the visual tree for the C1RatingItem control when a new template is applied. |
| Name | Description |
|---|---|
| Click | Occurs when the C1RatingItem is clicked. |