You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/toolbar/built-in-tools.md
+18-12Lines changed: 18 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -34,14 +34,16 @@ The nested `ToolBarButton` tag exposes parameters that allow you to customize th
34
34
</style>
35
35
| Parameter | Type and Default Value | Description |
36
36
| ----------- | ----------- | ----------- |
37
-
|`Enabled`|`bool` <br /> `true`| Specifies if the button is clickable. |
38
-
|`Visible`|`bool` <br /> `true`| Specifies if the button will be visible in the toolbar. |
39
-
|`Title`|`string`| Maps to the `title` HTML attribute for the `<button>`. |
40
37
|`Class`|`string`| The CSS class that will be rendered on the main wrapping element of the ToolbarButton. You could use that class to cascade styles. |
38
+
|`Enabled`|`bool` <br /> `true`| Specifies if the button is clickable. |
41
39
|`Icon`|`string`| Adds a font icon to the button. You can find more information on adding a font icon to a Telerik Component in [Telerik Font Icons article]({%slug general-information/font-icons%}#icon-in-telerik-component). |
40
+
|`IconClass`|`string`| Allows you to set a CSS class that provides the required font name, font size and content for the `::before` pseudo-element. |
42
41
|`ImageURL`|`string`| Adds an image to the button. You can provide an image url to this parameter. |
43
42
|`SpriteClass`|`string`| Add a sprite class image to the button. Set this attribute to `k-icon MySpriteClass` where `MySpriteClass` defines the CSS rules for the sprite. |
44
-
|`IconClass`|`string`| Allows you to set a CSS class that provides the required font name, font size and content for the `::before` pseudo-element. |
43
+
|`Overflow`|`ToolBarItemOverflow` enum <br /> (`Auto`) | Specifies whether the item will be hidden when the ToolBar is resized. |
44
+
|`OverflowText`|`string`| If not specified, it will get the normal text of the item. (not valid for Separators) |
45
+
|`Title`|`string`| Maps to the `title` HTML attribute for the `<button>`. |
46
+
|`Visible`|`bool` <br /> `true`| Specifies if the button will be visible in the toolbar. |
45
47
46
48
>caption The Telerik ToolBar with ToolBarButtons
47
49
@@ -92,15 +94,17 @@ The nested `ToolBarToggleButton` tag exposes parameters that allow you to custom
92
94
</style>
93
95
| Parameter | Type and Default Value | Description |
94
96
| ----------- | ----------- | ----------- |
95
-
|`Selected`|`bool`| Specifies whether the button is in selected state. You can use it with one and two-way data binding with the `SelectedChanged` event. For more information on how to handle the `SelectedChanged` event see the [Events]({%slug toolbar-events%}) article. |
96
-
|`Enabled`|`bool` <br /> `true`| Specifies if the button is clickable. |
97
-
|`Visible`|`bool` <br /> `true`| Specifies if the button will be visible in the toolbar. |
98
-
|`Title`|`string`| Maps to the `title` HTML attribute for the `<button>`. |
99
97
|`Class`|`string`| The CSS class that will be rendered on the main wrapping element of the ToolbarButton. You could use that class to cascade styles. |
98
+
|`Enabled`|`bool` <br /> `true`| Specifies if the button is clickable. |
100
99
|`Icon`|`string`| Adds a font icon to the button. You can find more information on adding a font icon to a Telerik Component in [Telerik Font Icons article]({%slug general-information/font-icons%}#icon-in-telerik-component). |
100
+
|`IconClass`|`string`| Allows you to set a CSS class that provides the required font name, font size and content for the `::before` pseudo-element. |
101
101
|`ImageURL`|`string`| Adds an image to the button. You can provide an image url to this parameter. |
102
+
|`Selected`|`bool`| Specifies whether the button is in selected state. You can use it with one and two-way data binding with the `SelectedChanged` event. For more information on how to handle the `SelectedChanged` event see the [Events]({%slug toolbar-events%}) article. |
102
103
|`SpriteClass`|`string`| Add a sprite class image to the button. Set this attribute to `k-icon MySpriteClass` where `MySpriteClass` defines the CSS rules for the sprite. |
103
-
|`IconClass`|`string`| Allows you to set a CSS class that provides the required font name, font size and content for the `::before` pseudo-element. |
104
+
|`Overflow`|`ToolBarItemOverflow` enum <br /> (`Auto`) | Specifies whether the item will be hidden when the ToolBar is resized. |
105
+
|`OverflowText`|`string`| If not specified, it will get the normal text of the item. (not valid for Separators) |
106
+
|`Title`|`string`| Maps to the `title` HTML attribute for the `<button>`. |
107
+
|`Visible`|`bool` <br /> `true`| Specifies if the button will be visible in the toolbar. |
104
108
105
109
>caption The Telerik ToolBar with ToolBarToggleButtons
106
110
@@ -154,10 +158,12 @@ The nested `ToolBarButtonGroup` tag exposes parameters that allow you to customi
154
158
</style>
155
159
| Parameter | Type and Default Value | Description |
156
160
| ----------- | ----------- | ----------- |
157
-
|`Visible`|`bool` <br /> `true`| Specifies if the group will be visible in the toolbar. |
158
-
|`SelectionMode`|`ButtonGroupSelectionMode` enum <br /> `Single`| Specifies whether you can select one or multiple buttons from the group at the same time (applicable for `ToolBarToggleButton` instances inside it). |
159
-
|`Enabled`|`bool` <br /> `true`| Specifies if the group is clickable. |
160
161
|`Class`|`string`| The CSS class that will be rendered on the main wrapping element of the ToolBarButtonGroup. You could use that class to cascade styles. |
162
+
|`Enabled`|`bool` <br /> `true`| Specifies if the group is clickable. |
163
+
|`SelectionMode`|`ButtonGroupSelectionMode` enum <br /> `Single`| Specifies whether you can select one or multiple buttons from the group at the same time (applicable for `ToolBarToggleButton` instances inside it). |
164
+
|`Overflow`|`ToolBarItemOverflow` enum <br /> (`Auto`) | Specifies whether the item will be hidden when the ToolBar is resized. |
165
+
|`OverflowText`|`string`| If not specified, it will get the normal text of the item. (not valid for Separators) |
166
+
|`Visible`|`bool` <br /> `true`| Specifies if the group will be visible in the toolbar. |
161
167
|`Width`|`string`| Allows you to control the width of the group. |
Copy file name to clipboardExpand all lines: components/toolbar/overview.md
+55Lines changed: 55 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -87,8 +87,63 @@ The Blazor ToolBar provides parameters to configure the component:
87
87
88
88
| Parameter | Type | Description |
89
89
| ----------- | ----------- | ----------- |
90
+
|`Adaptive `|`bool`| Toggles the overflow popup of the toolbar. Consistent with the chosen name for the pager. |
90
91
|`Class`|`string`| The CSS class to be rendered on the main wrapping element of the ToolBar component, which is `<div class="k-toolbar">`. Use for [styling customizations]({%slug themes-override%}). |
91
92
93
+
## Example
94
+
95
+
The Blazor Toolbar has an option for adaptiveness. This option allows you to hide the items overflowing in a popup.
96
+
97
+
>We do **not** recommend using `ToolBarTemplateItem` with the responsive overflow popup as there is a high chance of breaking the popup.
Copy file name to clipboardExpand all lines: components/toolbar/separators.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ position: 5
12
12
13
13
You can visually separate the items in the Telerik ToolBar for Blazor. Depending on the needs of your application you can use of the following, or a combination of them:
14
14
15
-
*`ToolBarSeparator` - to separate two items with a solid line you should add the `<ToolBarSeparator>` tag between them.
15
+
*`ToolBarSeparator` - to separate two items with a solid line, add the `<ToolBarSeparator>` tag between them.
16
16
17
17
*`ToolBarSpacer` - defines empty space in the toolbar which separates the items. The space between the items is automatically calculated to fit the width of the ToolBar. For example, one spacer in the middle of the items will push the second part of items to the right-hand side of the toolbar.
0 commit comments