DispatchedDelegateCommand<T> 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<T>(Action<T>, DispatcherPriority) | |
DispatchedDelegateCommand<T>(Action<T>, Predicate<T>, DispatcherPriority) |
DispatchedDelegateCommand<T>(Action<T>, DispatcherPriority)
public DispatchedDelegateCommand (Action<T> execute, System.Windows.Threading.DispatcherPriority priority = System.Windows.Threading.DispatcherPriority.ApplicationIdle);
new Microsoft.VisualStudio.PlatformUI.DispatchedDelegateCommand<'T> : Action<'T> * System.Windows.Threading.DispatcherPriority -> Microsoft.VisualStudio.PlatformUI.DispatchedDelegateCommand<'T>
Public Sub New (execute As Action(Of T), Optional priority As DispatcherPriority = System.Windows.Threading.DispatcherPriority.ApplicationIdle)
Parameters
- execute
- Action<T>
- priority
- DispatcherPriority
Applies to
DispatchedDelegateCommand<T>(Action<T>, Predicate<T>, DispatcherPriority)
public DispatchedDelegateCommand (Action<T> execute, Predicate<T> canExecute, System.Windows.Threading.DispatcherPriority priority = System.Windows.Threading.DispatcherPriority.ApplicationIdle);
new Microsoft.VisualStudio.PlatformUI.DispatchedDelegateCommand<'T> : Action<'T> * Predicate<'T> * System.Windows.Threading.DispatcherPriority -> Microsoft.VisualStudio.PlatformUI.DispatchedDelegateCommand<'T>
Public Sub New (execute As Action(Of T), canExecute As Predicate(Of T), Optional priority As DispatcherPriority = System.Windows.Threading.DispatcherPriority.ApplicationIdle)
Parameters
- execute
- Action<T>
- canExecute
- Predicate<T>
- priority
- DispatcherPriority