From 40f4c04591ec57bf6d2ce4966a374b5cf9844e97 Mon Sep 17 00:00:00 2001 From: Tsvetomir Hristov <106250052+Tsvetomir-Hr@users.noreply.github.com> Date: Tue, 11 Nov 2025 13:18:50 +0200 Subject: [PATCH] chore: remove adaptive parameter from docs --- components/pager/overview.md | 1 - components/toolbar/overview.md | 36 ++++++++++++++++------------------ 2 files changed, 17 insertions(+), 20 deletions(-) diff --git a/components/pager/overview.md b/components/pager/overview.md index 9d356f9149..71eae3e324 100644 --- a/components/pager/overview.md +++ b/components/pager/overview.md @@ -80,7 +80,6 @@ The Blazor Pager provides various parameters that allow you to configure the com | Parameter | Type and Default Value | Description | | ----------- | ----------- | ----------- | -|`Adaptive` | `bool`
(`true`) | Defines whether pager elements change based on the screen size. When enabled, the Pager will hide its `Pager Info` and `PageSize Dropdownlist` if they cannot fit in the available space. In the smallest resolution, the page buttons will be rendered as a select element. This parameter will be deprecated in the next major version in favor of the new `Responsive` parameter. | | `AdaptiveMode` | `AdaptiveMode` enum
(`None`) | Defines the adaptive mode of the Pager. When set to `Auto`, and the window width is below [`768px` or `RootComponentAdaptiveSettings.Medium`](slug:adaptive-rendering#rendering-specifics), components with popups will render them as an `ActionSheet`. In this case, the page sizes dropdown only. | | `ButtonCount` | `int` | The maximum number of page buttons that will be visible. To take effect, `ButtonCount` must be smaller than the page count (`ButtonCount < Total / PageSize`). | | `Class` | `string` | Renders a custom CSS class to the `
` element. | diff --git a/components/toolbar/overview.md b/components/toolbar/overview.md index 3868b81f6a..eee0ed3255 100644 --- a/components/toolbar/overview.md +++ b/components/toolbar/overview.md @@ -82,9 +82,8 @@ The Blazor ToolBar provides parameters to configure the component: | Parameter | Type | Description | | ----------- | ----------- | ----------- | -| `Adaptive`
(deprecated) | `bool`
(`true`) | Toggles the overflow popup of the ToolBar. The component displays an additional anchor on its side, where it places all items which do not fit and overflow. [Template items](slug:toolbar-templated-item#notes) don't participate in this mechanism and they are always rendered in the ToolBar itself. This parameter is deprecated in favor of `OverflowMode`. | | `Class` | `string` | The CSS class to be rendered on the main wrapping element of the ToolBar component, which is `
`. Use for [styling customizations](slug:themes-override). | -| `OverflowMode` | `ToolBarOverflowMode`
(`Menu`) | The adaptive mode of the Toolbar. | +| `OverflowMode` | `ToolBarOverflowMode`
(`Menu`) | Toggles the overflow popup of the ToolBar. The component displays an additional anchor on its side, where it places all items which do not fit and overflow.| | `ScrollButtonsPosition` | `ToolBarScrollButtonsPosition` enum
(`Split`) | Specifies the position of the buttons when the ToolBar scroll adaptive mode is enabled. | | `ScrollButtonsVisibility` | `ToolBarScrollButtonsVisibility` enum
(`Visible`)| Specifies the visibility of the buttons when the ToolBar scroll adaptive mode is enabled. | @@ -112,8 +111,8 @@ The Blazor Toolbar has an option for adaptiveness. This option allows you to hid

-
- +
+ Undo Redo Image @@ -123,29 +122,28 @@ The Blazor Toolbar has an option for adaptiveness. This option allows you to hid Copy Paste - - - - - + + + + +
+ + @code { - void ChangeWidth() + private double Width { get; set; } = 100; + + private void ChangeWidth() { Width = 40; } - - public double Width { get; set; } = 100; - public bool ToolBarAdaptive { get; set; } = true; } - - ```` ## Next Steps