다음을 통해 공유


Command<T> 클래스

정의

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

형식 매개 변수

T
상속
Command<T>

생성자

Command<T>(Action<T>)

명령 클래스의 새 인스턴스를 초기화합니다.

Command<T>(Action<T>, Func<T,Boolean>)

명령 클래스의 새 인스턴스를 초기화합니다.

메서드

CanExecute(Object)

지정된 매개 변수로 명령을 실행할 수 있는지 여부를 나타내는 Boolean을 반환합니다.

(다음에서 상속됨 Command)
ChangeCanExecute()

CanExecuteChanged 보내기

(다음에서 상속됨 Command)
Execute(Object)

작업 실행 호출

(다음에서 상속됨 Command)

이벤트

CanExecuteChanged (다음에서 상속됨 Command)

적용 대상