SearchBar.SearchCommand Property
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.
Gets or sets the command to execute when the user performs a search. This is a bindable property.
public:
property System::Windows::Input::ICommand ^ SearchCommand { System::Windows::Input::ICommand ^ get(); void set(System::Windows::Input::ICommand ^ value); };
public System.Windows.Input.ICommand SearchCommand { get; set; }
member this.SearchCommand : System.Windows.Input.ICommand with get, set
Public Property SearchCommand As ICommand
Property Value
An ICommand to execute. The default is null.
Remarks
This command is executed when the user presses the search button on the keyboard or when OnSearchButtonPressed() is called. The SearchCommandParameter is passed as the command parameter.