
Visual Basic (Declaration) | |
---|---|
Public Class UXRatingCommands |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As UXRatingCommands |
C# | |
---|---|
public class UXRatingCommands |
Delphi | |
---|---|
public class UXRatingCommands |
JScript | |
---|---|
public class UXRatingCommands |
Managed Extensions for C++ | |
---|---|
public __gc class UXRatingCommands |
C++/CLI | |
---|---|
public ref class UXRatingCommands |
UXRating is built around the commanding semantics which allows the value changing interaction to be executed through declarative definition in the XAML markup. The commanding semantics is also an ideal approach for MVVM pattern development.
UXRating already includes several predefined commands to change the selected value that you can use in your application.
-
Increase
Gets a command that increases the value of the UXRating.
Increase command will be invoked when you perform the following action:
- Press the right or down keyboard key when IsDirectionReversed set to False.
- Press the left or up keyboard key when IsDirectionReversed set to True.
-
Decrease
Gets a command that decreases the value of the UXRating.
Decrease command will be invoked when you perform the following action:
- Press the left or up keyboard key when IsDirectionReversed set to False.
- Press the right or down keyboard key when IsDirectionReversed set to True.
-
Minimize
Gets a command that sets the value of UXRating to the value of Minimum property.
Minimize command will be invoked when you press the Home keyboard key.
-
Maximize
Gets a command that sets the value of UXRating to the value of Maximum property.
Maximize command will be invoked when you press the End keyboard key.
Although these commands are already registered in the elements of UXRating, you can still register these commands to other UIElement outside UXRating scope. For example, you can have a UXButton that performs Increase command. For more information on how to register UXRating commands to other type of UIElement, see How-to: Register UXRating Command to UXButton.
Intersoft.Client.UI.Aqua.UXInput.UXRatingCommands
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family