Class DataGridSearchToolbarView
Represents a built-in search UI panel for SfDataGrid that allows users to search, filter, and navigate search results.
Implements
IDrawable
IAbsoluteLayout
ILayout
IView
IElement
ITransform
IContainer
IList<IView>
ICollection<IView>
IEnumerable<IView>
ISafeAreaView
IPadding
ICrossPlatformLayout
IVisualTreeElement
Inherited Members
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class DataGridSearchToolbarView : SfContentView, IDrawableLayout, IDrawable, IAbsoluteLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout, IVisualTreeElement
Remarks
The DataGridSearchToolbarView provides an integrated search experience with:
- Text input via Entry control
- Navigation between search results (previous/next)
- Clear search functionality
- Settings panel for search configuration (case sensitivity, search type, filtering)
- Full styling support via DataGridStyle
- Localization and RTL layout support
Constructors
DataGridSearchToolbarView(SfDataGrid)
Initializes a new instance of the DataGridSearchToolbarView class with a reference to the parent SfDataGrid.
Declaration
public DataGridSearchToolbarView(SfDataGrid dataGrid)
Parameters
| Type | Name | Description |
|---|---|---|
| SfDataGrid | dataGrid |
Fields
ShowClearButtonProperty
Identifies the ShowClearButton bindable property.
Declaration
public static readonly BindableProperty ShowClearButtonProperty
Field Value
| Type |
|---|
| BindableProperty |
ShowMoreOptionsProperty
Identifies the ShowMoreOptions bindable property.
Declaration
public static readonly BindableProperty ShowMoreOptionsProperty
Field Value
| Type |
|---|
| BindableProperty |
ShowNavigationButtonsProperty
Identifies the ShowNavigationButtons bindable property.
Declaration
public static readonly BindableProperty ShowNavigationButtonsProperty
Field Value
| Type |
|---|
| BindableProperty |
Properties
ShowClearButton
Gets or sets a value that indicates whether to show the clear search icon.
Declaration
public bool ShowClearButton { get; set; }
Property Value
| Type |
|---|
| bool |
ShowMoreOptions
Gets or sets a value that indicates whether to show the more option icon.
Declaration
public bool ShowMoreOptions { get; set; }
Property Value
| Type |
|---|
| bool |
ShowNavigationButtons
Gets or sets a value that indicates whether to show the navigation icons (previous/next).
Declaration
public bool ShowNavigationButtons { get; set; }
Property Value
| Type |
|---|
| bool |
Methods
OnDraw(ICanvas, RectF)
Declaration
protected override void OnDraw(ICanvas canvas, RectF dirtyRect)
Parameters
| Type | Name | Description |
|---|---|---|
| ICanvas | canvas | |
| RectF | dirtyRect |
Overrides
Implements
Microsoft.Maui.Graphics.IDrawable
Microsoft.Maui.IAbsoluteLayout
Microsoft.Maui.ILayout
Microsoft.Maui.IView
Microsoft.Maui.IElement
Microsoft.Maui.ITransform
Microsoft.Maui.IContainer
Microsoft.Maui.ISafeAreaView
Microsoft.Maui.IPadding
Microsoft.Maui.ICrossPlatformLayout
Microsoft.Maui.IVisualTreeElement