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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.