Class
GridToolBarSettings

The component that configures the Grid toolbar settings.

Definition

Constructors

GridToolBarSettings()

Declaration

cs-api-definition
public GridToolBarSettings()

Properties

OverflowMode

Controls how toolbar handles too many buttons for available space. Use Scroll for horizontal scrolling through toolbar items, Section for a popup menu with overflow items, or None to disable overflow handling and allow natural HTML wrapping.

Declaration

cs-api-definition
[Parameter]
public GridToolBarOverflowMode OverflowMode { get; set; }

Property Value

GridToolBarOverflowMode

ScrollButtonsPosition

Sets the position of scroll navigation buttons when toolbar uses scroll mode. Use Start to place buttons before the toolbar items, End to place them after toolbar items, or Split to show buttons on both sides for easier navigation. Only applies when OverflowMode is set to Scroll.

Declaration

cs-api-definition
[Parameter]
public GridToolBarScrollButtonsPosition ScrollButtonsPosition { get; set; }

Property Value

GridToolBarScrollButtonsPosition

ScrollButtonsVisibility

Controls when scroll navigation buttons appear in scrollable toolbar. Use Auto to show buttons only when toolbar content overflows and scrolling is needed, Visible to always display scroll buttons regardless of content size, or Hidden to never show scroll buttons. Only applies when OverflowMode is set to Scroll.

Declaration

cs-api-definition
[Parameter]
public GridToolBarScrollButtonsVisibility ScrollButtonsVisibility { get; set; }

Property Value

GridToolBarScrollButtonsVisibility

ShowIconOnlyTools

Automatically switches toolbar buttons to icon-only mode on smaller screens (below 768px) to save space and improve mobile usability.

Declaration

cs-api-definition
[Parameter]
public bool ShowIconOnlyTools { get; set; }

Property Value

bool

ShowInactiveTools

Shows disabled toolbar buttons (like Edit, Delete) even when they cannot be used, maintaining consistent layout and visual feedback.

Declaration

cs-api-definition
[Parameter]
public bool ShowInactiveTools { get; set; }

Property Value

bool

Methods

OnInitializedAsync()

Declaration

cs-api-definition
protected override Task OnInitializedAsync()

Returns

Task

Overrides ComponentBase.OnInitializedAsync()

OnParametersSetAsync()

Declaration

cs-api-definition
protected override Task OnParametersSetAsync()

Returns

Task

Overrides ComponentBase.OnParametersSetAsync()

SetParametersAsync(ParameterView)

Declaration

cs-api-definition
public override Task SetParametersAsync(ParameterView parameters)

Parameters

parameters

ParameterView

Returns

Task

Overrides ComponentBase.SetParametersAsync(ParameterView)