Intersoft.Client.UI.Aqua.UXInput Namespace > UXRating Class : SelectionMode Property |
<CategoryAttribute("Common Properties")> Public Property SelectionMode As SelectionMode
Dim instance As UXRating Dim value As SelectionMode instance.SelectionMode = value value = instance.SelectionMode
[CategoryAttribute("Common Properties")] public SelectionMode SelectionMode {get; set;}
[CategoryAttribute("Common Properties")] public: property SelectionMode SelectionMode { SelectionMode get(); void set ( SelectionMode value); }
The UXRating control has two SelectionMode: Continuous and Single. In Continuous mode (the default), the control behaves the way most star-based rating controls does, which fill the first two stars and the selected rating item.
The following code shows you how to set the selection mode to Continuous.
XAML |
Copy Code
|
---|---|
<Grid> <Intersoft:UXRating Width="200" Height="50" SelectionMode="Continuous" /> </Grid> |
Target Platforms: 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