Xceed Toolkit Plus for WPF v4.6 Documentation
Precision Property (Rating)


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > Rating Class : Precision Property

Gets or sets a value representing the type of precision to use.  When set to Full, icons are never partially filled. They can either be filled or not. When set to Exact, icons will be partially filled to try to exactly represent the Rating control's Value property.

When set to Half, the can be filled, half filled, or not filled at all, rounded up. For example, if ItemCount is 5, and the Value is 2.1, then the first two icons will be fully filled, and the third will be half filled. 

Syntax
'Declaration
 
Public Property Precision As RatingPrecision
'Usage
 
Dim instance As Rating
Dim value As RatingPrecision
 
instance.Precision = value
 
value = instance.Precision
public RatingPrecision Precision {get; set;}

Property Value

A RatingPrecision that can be Full, Exact, or Half.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Rating Class
Rating Members