alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class DataGridSearchToolbarView

    Represents a built-in search UI panel for SfDataGrid that allows users to search, filter, and navigate search results.

    Inheritance
    System.Object
    SfView
    SfContentView
    DataGridSearchToolbarView
    Implements
    IDrawableLayout
    Microsoft.Maui.Graphics.IDrawable
    Microsoft.Maui.IAbsoluteLayout
    Microsoft.Maui.ILayout
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IContainer
    System.Collections.Generic.IList<Microsoft.Maui.IView>
    System.Collections.Generic.ICollection<Microsoft.Maui.IView>
    System.Collections.Generic.IEnumerable<Microsoft.Maui.IView>
    System.Collections.IEnumerable
    Microsoft.Maui.ISafeAreaView
    Microsoft.Maui.IPadding
    Microsoft.Maui.ICrossPlatformLayout
    Microsoft.Maui.IVisualTreeElement
    Inherited Members
    SfContentView.Content
    SfContentView.ContentProperty
    SfContentView.OnContentChanged(Object, Object)
    SfView.ArrangeContent(Rect)
    SfView.ArrangeOverride(Rect)
    SfView.Children
    SfView.ClipToBounds
    SfView.GetSemanticsNodesCore(Double, Double)
    SfView.IDrawableLayout.DrawingOrder
    SfView.IDrawableLayout.InvalidateDrawable()
    SfView.MeasureContent(Double, Double)
    SfView.MeasureOverride(Double, Double)
    SfView.OnBindingContextChanged()
    SfView.OnHandlerChanged()
    SfView.Padding
    SfView.PaddingProperty
    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, ISemanticsProvider
    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
    Microsoft.Maui.Controls.BindableProperty

    ShowMoreOptionsProperty

    Identifies the ShowMoreOptions bindable property.

    Declaration
    public static readonly BindableProperty ShowMoreOptionsProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    ShowNavigationButtonsProperty

    Identifies the ShowNavigationButtons bindable property.

    Declaration
    public static readonly BindableProperty ShowNavigationButtonsProperty
    Field Value
    Type
    Microsoft.Maui.Controls.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
    System.Boolean

    ShowMoreOptions

    Gets or sets a value that indicates whether to show the more option icon.

    Declaration
    public bool ShowMoreOptions { get; set; }
    Property Value
    Type
    System.Boolean

    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
    System.Boolean

    Methods

    OnDraw(ICanvas, RectF)

    Declaration
    protected override void OnDraw(ICanvas canvas, RectF dirtyRect)
    Parameters
    Type Name Description
    Microsoft.Maui.Graphics.ICanvas canvas
    Microsoft.Maui.Graphics.RectF dirtyRect
    Overrides
    SfView.OnDraw(ICanvas, RectF)

    Implements

    IDrawableLayout
    Microsoft.Maui.Graphics.IDrawable
    Microsoft.Maui.IAbsoluteLayout
    Microsoft.Maui.ILayout
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IContainer
    System.Collections.Generic.IList<>
    System.Collections.Generic.ICollection<>
    System.Collections.Generic.IEnumerable<>
    System.Collections.IEnumerable
    Microsoft.Maui.ISafeAreaView
    Microsoft.Maui.IPadding
    Microsoft.Maui.ICrossPlatformLayout
    Microsoft.Maui.IVisualTreeElement
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved