Intersoft ClientUI Documentation
HybridDelegateCommand Class
Members  See Also  Send Feedback
Intersoft.Client.Framework.Input Namespace : HybridDelegateCommand Class






Defines a command that implements ICommand which passes CanExecute and Executed as delegated method, and also provides basic UI data such as Text, Image and NoExecuteBehavior which can be used as binding source in the View. The DelegateCommand is commonly used in M-V-VM pattern application development.

Object Model

HybridDelegateCommand Class

Syntax

Visual Basic (Declaration) 
Public Class HybridDelegateCommand 
   Inherits HybridRoutedCommand
   Implements IHybridCommand 
Visual Basic (Usage)Copy Code
Dim instance As HybridDelegateCommand
C# 
public class HybridDelegateCommand : HybridRoutedCommand, IHybridCommand  
Delphi 
public class HybridDelegateCommand = class(HybridRoutedCommand, IHybridCommand)
JScript 
public class HybridDelegateCommand extends HybridRoutedCommand implements IHybridCommand 
Managed Extensions for C++ 
public __gc class HybridDelegateCommand : public HybridRoutedCommand, IHybridCommand  
C++/CLI 
public ref class HybridDelegateCommand : public HybridRoutedCommand, IHybridCommand  

Remarks

HybridDelegateCommand is the counterpart of the hybrid command that particularly designed to support MVVM pattern development. Consequently, the HybridDelegateCommand exposes both the hybrid command and the delegate command characteristics.

To learn how to use hybrid command, see HybridRoutedCommand Class. To learn how to use delegate command, see DelegateCommand Class.

For more information about hybrid commands, see Hybrid Commands.

Inheritance Hierarchy

System.Object
   Intersoft.Client.Framework.Input.RoutedCommand
      Intersoft.Client.Framework.Input.RoutedUICommand
         Intersoft.Client.Framework.Input.HybridRoutedCommand
            Intersoft.Client.Framework.Input.HybridDelegateCommand

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.