Command<T> Class
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.
generic <typename T>
public ref class Command sealed : Microsoft::Maui::Controls::Command
public sealed class Command<T> : Microsoft.Maui.Controls.Command
type Command<'T> = class
inherit Command
Public NotInheritable Class Command(Of T)
Inherits Command
Type Parameters
- T
- Inheritance
Constructors
Command<T>(Action<T>, Func<T,Boolean>) |
Initializes a new instance of the Command class. |
Command<T>(Action<T>) |
Initializes a new instance of the Command class. |
Methods
CanExecute(Object) |
Returns a Boolean indicating if the Command can be exectued with the given parameter. (Inherited from Command) |
ChangeCanExecute() |
Send a CanExecuteChanged (Inherited from Command) |
Execute(Object) |
Invokes the execute Action (Inherited from Command) |
Events
CanExecuteChanged | (Inherited from Command) |
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.