The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
RoutedCommand Constructor (String^, Type^, InputGestureCollection^)
.NET Framework (current version)
Initializes a new instance of the RoutedCommand class with the specified name, owner type, and collection of gestures.
Assembly: PresentationCore (in PresentationCore.dll)
public:
RoutedCommand(
String^ name,
Type^ ownerType,
InputGestureCollection^ inputGestures
)
Parameters
- name
-
Type:
System::String^
Declared name for serialization.
- ownerType
-
Type:
System::Type^
The type that is registering the command.
- inputGestures
-
Type:
System.Windows.Input::InputGestureCollection^
Default input gestures associated with this command.
| Exception | Condition |
|---|---|
| ArgumentNullException | name is null. |
| ArgumentException | the length of name is zero - or - ownerType is null. |
.NET Framework
Available since 3.0
Available since 3.0
Show: