Share via


DelegateCommandBase Class

An ICommand whose delegates can be attached for Execute(Object) and CanExecute(Object). It also implements the IActiveAware interface, which is useful when registering this command in a CompositeCommand that monitors command's activity.

Namespace:  Microsoft.Practices.Prism.Commands
Assembly:  Microsoft.Practices.Prism (in Microsoft.Practices.Prism.dll)

Syntax

public abstract class DelegateCommandBase : ICommand, 
    IActiveAware
'Declaration
Public MustInherit Class DelegateCommandBase _
    Implements ICommand, IActiveAware

Inheritance Hierarchy

System.Object
  Microsoft.Practices.Prism.Commands.DelegateCommandBase
    Microsoft.Practices.Prism.Commands.DelegateCommand
    Microsoft.Practices.Prism.Commands.DelegateCommand<T>

See Also

DelegateCommandBase Members

Microsoft.Practices.Prism.Commands Namespace