DispatchedDelegateCommand<T> Class
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.
Implementation of ICommand using delegates, where 'execute' delegate will be dispatched to the end of the current dispatcher queue with the given priority, allowing UI to refresh 'can execute' state
generic <typename T>
public ref class DispatchedDelegateCommand : Microsoft::VisualStudio::PlatformUI::DelegateCommand<T>
public class DispatchedDelegateCommand<T> : Microsoft.VisualStudio.PlatformUI.DelegateCommand<T>
type DispatchedDelegateCommand<'T> = class
inherit DelegateCommand<'T>
Public Class DispatchedDelegateCommand(Of T)
Inherits DelegateCommand(Of T)
- T
- Inheritance
- Derived
Dispatched |
|
Dispatched |
Can |
|
Can |
Adds a property upon which this command's CanExecute state depends. When the property changes, this command will raise CanExecuteChanged (Inherited from DelegateCommandBase) |
Execute(Object) | |
Raise |
Raises the CanExecuteChanged event. (Inherited from DelegateCommandBase) |
Can |
An event that is fired when the executable state of this command changes. Call RaiseCanExecuteChanged to force listeners to update. (Inherited from DelegateCommandBase) |
Produto | Versões |
---|---|
Visual Studio SDK | 2019, 2022 |