This example illustrates how to display a search bar above the DevExpress .NET MAUI Data Grid search bar (within the ContentPage toolbar region).
- A TextEdit control is placed in the title bar. You can specify the EndIcon property to define the icon used on the right.
- Specify the PlaceholderText property to define TextEdit placeholder text. Define the PlaceholderColor property to specify the color used for placeholder text.
- You can use the ClearIconColor property to define the color of TextEdit's clear icon. In the TextChanged event handler, you can define a query parameter and assign it to the DataGridView.FilterString property. Refer to the following topic for more information on filter criteria syntax: Criteria Language Syntax.