Xceed Toolkit Plus for WPF v4.6 Documentation
ValueType Property


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > Rating Class : ValueType Property
Gets or sets the type of value used. When set to Exact, the Rating’s Value will represent the exact icon value. For example, a value of 3 would mean that the first 3 icons are filled, no matter how many icons there are in total. When set to Percentage, the Rating’s Value represents a percentage value (Min=0.0, Max = 1.0). For example, a value of 0.50 would mean that the first 50% is filled (if the Rating control has 5 stars, then the Value would represent the first 3.5 icons).
Syntax
'Declaration
 
Public Property ValueType As RatingValueType
'Usage
 
Dim instance As Rating
Dim value As RatingValueType
 
instance.ValueType = value
 
value = instance.ValueType
public RatingValueType ValueType {get; set;}

Property Value

A RatingValueType that can be either Exact or Percentage.
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