ButtonBase.Command Tulajdonság

Definíció

Megjegyzés

Ezen előzetes verziójú API használatához engedélyeznie kell az előzetes verziójú funkciók használatát a projektben az EnablePreviewFeatures tulajdonságot a True értékre állítva a projektfájlban. További információ: https://aka.ms/dotnet-preview-features.

Lekérdezi vagy beállítja, hogy kinek Execute(Object) a ICommand metódusa lesz meghívva az Click esemény meghívásakor.

public:
 property System::Windows::Input::ICommand ^ Command { System::Windows::Input::ICommand ^ get(); void set(System::Windows::Input::ICommand ^ value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.Browsable(false)]
public System.Windows.Input.ICommand? Command { get; set; }
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.Browsable(false)]
[System.Runtime.Versioning.RequiresPreviewFeatures]
public System.Windows.Input.ICommand? Command { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.Browsable(false)>]
member this.Command : System.Windows.Input.ICommand with get, set
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.Browsable(false)>]
[<System.Runtime.Versioning.RequiresPreviewFeatures>]
member this.Command : System.Windows.Input.ICommand with get, set
Public Property Command As ICommand

Tulajdonság értéke

Attribútumok

A következőre érvényes: