[]
        
(Showing Draft Content)

C1.WPF.Extended.C1Rating

C1Rating Class

The C1Rating represents a control that it can easily implement the rating functionality

Namespace: C1.WPF.Extended
Assembly: C1.WPF.Extended.4.6.2.dll
Syntax
[TemplatePart(Name = "MainPanel", Type = typeof(Grid))]
public class C1Rating : ItemsControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage

Constructors

Name Description
C1Rating()

Initializes a new instance of a C1Rating.

Fields

Name Description
AnimationModeProperty

Identifies the AnimationMode dependency property.

AnimationOriginProperty

Identifies the AnimationOrigin dependency property.

AnimationTypeProperty

Identifies the AnimationType dependency property.

AutoGeneratedItemsCountProperty

Identifies the AutoGeneratedItemsCount dependency property.

HoveredBrushProperty

Identifies the HoveredBrush dependency property.

IsReadOnlyProperty

Identifies the IsReadOnly dependency property.

OrientationProperty

Identifies the Orientation dependency property.

RatedBrushProperty

Identifies the RatedBrush dependency property.

RatingModeProperty

Identifies the RatingMode dependency property.

RatingPrecisionProperty

Identifies the RatingPrecision dependency property.

ShowToolTipProperty

Identifies the ShowToolTip dependency property.

ToolTipPlacementProperty

Identifies the ToolTipPlacement dependency property.

ToolTipTemplateProperty

Identifies the ToolTipTemplate dependency property.

UnratedBrushProperty

Identifies the UnratedBrush dependency property.

ValueProperty

Identifies the Value dependency property.

Properties

Name Description
AnimationFactory

Get or set custom animation Factory

AnimationMode

Specifies the animation mode of the Rating.

AnimationOrigin

Specifies the animation origin of the Rating.

AnimationType

Specifies the animation type of the Rating.

AutoGeneratedItemsCount

Gets or sets the auto generated items count.

HoveredBrush

Get or set background brush in a hovered state.

IsReadOnly

Get or set IsReadOnly property of C1Rating.

Orientation

Gets or sets the dimension by which child elements are stacked

RatedBrush

Get or set background brush in a rated state.

RatingMode

Specifies the behavior of rating.

RatingPrecision

Specifies the rating precision of the Rating.

ShowToolTip

Determines whether the control should display tooltips for individual items.

ToolTipPlacement

Gets or sets the tooltip placement.

ToolTipTemplate

Gets or sets the data template used to display the tooltip.

UnratedBrush

Get or set background brush in an unrated state.

Value

Gets or sets the rated value of rating control.

Methods

Name Description
ClearContainerForItemOverride(DependencyObject, object)
GetContainerForItemOverride()

Creates or identifies the element that is used to display the given item.

IsItemItsOwnContainerOverride(object)

Determines if the specified item is (or is eligible to be) its own container.

MeasureOverride(Size)
OnApplyTemplate()

Builds the visual tree for the C1Rating control when a new template is applied.

PrepareContainerForItemOverride(DependencyObject, object)

Prepares the specified element to display the specified item.

Events

Name Description
ItemClick

Occurs when the C1RatingItem is clicked.

ValueChanged

Occurs when the C1Rating value is changed.