[]
Represents the SwitchDropDownCommand command, which switched the drop down window between open and closed.
public static RoutedUICommand SwitchDropDownCommand { get; }
Public Shared ReadOnly Property SwitchDropDownCommand As RoutedUICommand
SwitchDropDownCommand is used to switch dropdown status. The default key gestures are ALT+UP, ALT+DOWN and F4.
The following example shows how to hook up a RoutedCommand to an InputMan Control.
InputMan provides a library of commands which application programmers encounter regularly. The classes which comprise the command library are: FieldsEditingCommands, CalendarCommands and ControlNavigationCommands. And some commands are defined in some classes of controls.
Many controls in InputMan do have built in support for some of the commands in the command library. GcTextBox, for example, supports many of the application edit commands such as Paste, Copy, Cut and Undo. The application developer does not have to do anything special to get these commands to work with these controls. If the GcTextBox is the command target when the command is executed, it will handle the command using the CommandBinding that is built into the control.
The following shows how to use KeyBinding as the command source for the command defined on GcDateTime, where a GcDateTime is the target of the command. All the logic that defines how the GcDateTime performs the operations is built into the GcDateTime control.