DispatchedDelegateCommand Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- priority
- DispatcherPriority
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
- priority
- DispatcherPriority