Class
GridToolBarSearchBoxTool

Definition

Constructors

GridToolBarSearchBoxTool()

Declaration

cs-api-definition
public GridToolBarSearchBoxTool()

Properties

DebounceDelay

Delay in milliseconds between when user stops typing and when search filtering is applied. Use this to prevent excessive filtering during typing.

Declaration

cs-api-definition
[Parameter]
public int DebounceDelay { get; set; }

Property Value

int

Fields

List of column field names to include in search operations. When empty, all string columns are searchable by default.

Declaration

cs-api-definition
[Parameter]
public IList<string> Fields { get; set; }

Property Value

IList<string>

FillMode

Controls the background styling of the search box. Use Solid, Outline, or Flat for different visual appearances. Default value is Solid.

Declaration

cs-api-definition
[Parameter]
public string FillMode { get; set; }

Property Value

string

Placeholder

Text displayed inside the search box when it's empty. Use this to provide hints about search functionality to users.

Declaration

cs-api-definition
[Parameter]
public string Placeholder { get; set; }

Property Value

string

Rounded

Controls the corner radius of the search box. Use Small, Medium, Large, or Full for different border radius values. Default value is Medium.

Declaration

cs-api-definition
[Parameter]
public string Rounded { get; set; }

Property Value

string

Size

Controls the height and padding of the search box. Use Small, Medium, or Large for different sizes. Default value is Medium.

Declaration

cs-api-definition
[Parameter]
public string Size { get; set; }

Property Value

string

Width

CSS width value for the search box. Use pixels, percentages, or other CSS units to control the search box width.

Declaration

cs-api-definition
[Parameter]
public string Width { get; set; }

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

OnParametersSet()

Declaration

cs-api-definition
protected override void OnParametersSet()

Overrides ComponentBase.OnParametersSet()