Intersoft ClientUI Documentation
RoutedCommand Constructor(String,Type,InputGestureCollection)
See Also  Send Feedback
Intersoft.Client.Framework.Input Namespace > RoutedCommand Class > RoutedCommand Constructor : RoutedCommand Constructor(String,Type,InputGestureCollection)






name
Declared name for serialization.
ownerType
The type which is registering the command.
inputGestures
Default input gestures associated with this command.
Initializes a new instance of the RoutedCommand class with the specified name, owner type, and collection of gestures.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal ownerType As Type, _
   ByVal inputGestures As InputGestureCollection _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim ownerType As Type
Dim inputGestures As InputGestureCollection
 
Dim instance As New RoutedCommand(name, ownerType, inputGestures)
C# 
public RoutedCommand( 
   string name,
   Type ownerType,
   InputGestureCollection inputGestures
)
Delphi 
public RoutedCommand( 
    name: String;
    ownerType: Type;
    inputGestures: InputGestureCollection
); 
JScript 
public function RoutedCommand( 
   name : String,
   ownerType : Type,
   inputGestures : InputGestureCollection
);
Managed Extensions for C++ 
public: RoutedCommand( 
   string* name,
   Type* ownerType,
   InputGestureCollection* inputGestures
)
C++/CLI 
public:
RoutedCommand( 
   String^ name,
   Type^ ownerType,
   InputGestureCollection^ inputGestures
)

Parameters

name
Declared name for serialization.
ownerType
The type which is registering the command.
inputGestures
Default input gestures associated with this command.

Requirements

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

See Also

© 2012 All Rights Reserved.