Shell.SetSearchHandler(BindableObject, SearchHandler) Method
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.
Sets the handler responsible for implementing the integrated search functionality for when the given obj
is active.
Enabling this property results in a search box being added at the top of the page.
public:
static void SetSearchHandler(Microsoft::Maui::Controls::BindableObject ^ obj, Microsoft::Maui::Controls::SearchHandler ^ handler);
public static void SetSearchHandler (Microsoft.Maui.Controls.BindableObject obj, Microsoft.Maui.Controls.SearchHandler handler);
static member SetSearchHandler : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Controls.SearchHandler -> unit
Public Shared Sub SetSearchHandler (obj As BindableObject, handler As SearchHandler)
Parameters
- obj
- BindableObject
The object that modifies the Shell search functionality.
- handler
- SearchHandler
Defines the integrated search functionality.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.