共用方式為


SearchBar.SearchCommand 屬性

定義

取得或設定使用者按 [搜尋] 按鈕時所執行的命令。

public System.Windows.Input.ICommand SearchCommand { get; set; }
member this.SearchCommand : System.Windows.Input.ICommand with get, set

屬性值

System.Windows.Input.ICommand

當使用者按下 搜尋 按鈕時執行的命令。

適用於