Intersoft ClientUI Documentation
SetCommandBindings Method
See Also  Send Feedback
Intersoft.Client.Framework.Input Namespace > CommandManager Class : SetCommandBindings Method






element
The object to which the attached property is written.
value
The value to set.
Sets the value of the CommandBindings attached property for an object.

Syntax

Visual Basic (Declaration) 
Public Shared Sub SetCommandBindings( _
   ByVal element As DependencyObject, _
   ByVal value As CommandBindingCollection _
) 
Visual Basic (Usage)Copy Code
Dim element As DependencyObject
Dim value As CommandBindingCollection
 
CommandManager.SetCommandBindings(element, value)
C# 
public static void SetCommandBindings( 
   DependencyObject element,
   CommandBindingCollection value
)
Delphi 
public procedure SetCommandBindings( 
    element: DependencyObject;
    value: CommandBindingCollection
); static; 
JScript 
public static function SetCommandBindings( 
   element : DependencyObject,
   value : CommandBindingCollection
);
Managed Extensions for C++ 
public: static void SetCommandBindings( 
   DependencyObject* element,
   CommandBindingCollection* value
) 
C++/CLI 
public:
static void SetCommandBindings( 
   DependencyObject^ element,
   CommandBindingCollection^ value
) 

Parameters

element
The object to which the attached property is written.
value
The value to set.

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.