DispatchedDelegateCommand Constructors

Definition

Overloads

DispatchedDelegateCommand(Action<Object>, DispatcherPriority)
DispatchedDelegateCommand(Action<Object>, Predicate<Object>, DispatcherPriority)

DispatchedDelegateCommand(Action<Object>, DispatcherPriority)

public DispatchedDelegateCommand (Action<object> execute, System.Windows.Threading.DispatcherPriority priority = System.Windows.Threading.DispatcherPriority.ApplicationIdle);
new Microsoft.VisualStudio.PlatformUI.DispatchedDelegateCommand : Action<obj> * System.Windows.Threading.DispatcherPriority -> Microsoft.VisualStudio.PlatformUI.DispatchedDelegateCommand
Public Sub New (execute As Action(Of Object), Optional priority As DispatcherPriority = System.Windows.Threading.DispatcherPriority.ApplicationIdle)

Parameters

execute
Action<Object>

Applies to

DispatchedDelegateCommand(Action<Object>, Predicate<Object>, DispatcherPriority)

public DispatchedDelegateCommand (Action<object> execute, Predicate<object> canExecute, System.Windows.Threading.DispatcherPriority priority = System.Windows.Threading.DispatcherPriority.ApplicationIdle);
new Microsoft.VisualStudio.PlatformUI.DispatchedDelegateCommand : Action<obj> * Predicate<obj> * System.Windows.Threading.DispatcherPriority -> Microsoft.VisualStudio.PlatformUI.DispatchedDelegateCommand
Public Sub New (execute As Action(Of Object), canExecute As Predicate(Of Object), Optional priority As DispatcherPriority = System.Windows.Threading.DispatcherPriority.ApplicationIdle)

Parameters

execute
Action<Object>
canExecute
Predicate<Object>

Applies to