DelegateCommand Class

Visual Studio 2015
 

A lightweight version of DelegateCommand modeled after Prism.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

System.Object
  Microsoft.VisualStudio.PlatformUI.DelegateCommand

public class DelegateCommand : ICommand

NameDescription
System_CAPS_pubmethodDelegateCommand(Action<Object>)

Initializes a new instance of the DelegateCommand class.

System_CAPS_pubmethodDelegateCommand(Action<Object>, Predicate<Object>)

Initializes a new instance of the DelegateCommand class.

NameDescription
System_CAPS_pubmethodCanExecute(Object)

Determines whether the command can be executed in the current state.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExecute(Object)

Executes the command.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRaiseCanExecuteChanged()

Event called when the current command's ability to execute may have changed.

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: