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/tabstrip/overview.md
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,10 @@ The Tabs are the building blocks of the TabStrip. The component allows individua
48
48
49
49
The Blazor TabStrip component allows you to control the position of the tabs. [Read more about the Tabs Position...]({%slug tabstrip-tabs-position%})
50
50
51
+
## Alignment of the Tabs
52
+
53
+
The Blazor TabStrip component allows you to control the alignment of the tabs. [Read more about the Tabs Alignment...]({%slug tabstrip-tabs-alignment%})
54
+
51
55
## Persist Content
52
56
53
57
The Blazor TabStrip component can persist the content of the tabs. When the user navigates between the tabs, their content will be hidden with CSS only to avoid re-initialization. [Read more about the Persist Content...]({%slug tabstrip-persist-content%})
@@ -72,6 +76,8 @@ The TabStrip provides the following features to allow further customization of i
72
76
|`PersistTabContent` | `bool` | Whether to remove the content of inactive tabs from the DOM (if `false`), or just hide it with CSS (if `true`). See [Persist Content]({%slug tabstrip-persist-content%})
73
77
| `Scrollable` | `bool` | Whether the tabs will be scrollable. See [Scrollable Tabs]({%slug tabstrip-scroll-tabs%})
74
78
| `TabPosition` | `TabPosition` enum <br/> (`TabPosition.Top`)| Controls the position of the tabs.
79
+
| `TabAlignment` | `TabStripTabAlignment` enum <br/> (`TabStripTabAlignment.Start`)| Controls the alignment of the tabs.
80
+
75
81
76
82
### Styling and Appearance
77
83
@@ -131,12 +137,12 @@ The `TabStrip` methods are accessible through its reference.
131
137
## Next Steps
132
138
133
139
*[Configure the Tabs]({%slug tabstrip-tabs-configuration%})
134
-
*[Explore the supported Tab positions]({%slug tabstrip-tabs-position%})
140
+
* Explore the supported Tab [positions]({%slug tabstrip-tabs-position%}) and [alignments]({%slug tabstrip-tabs-alignment%})
135
141
*[Handle the TabStrip events]({%slug tabstrip-events%})
description: The TabAlignment parameter in the TabStrip component allows you to control the alignment of the tabs. By default, tabs align to the left of the TabStrip header.
5
+
slug: tabstrip-tabs-alignment
6
+
tags: telerik,blazor,tab,strip,tabstrip,alignment
7
+
published: True
8
+
position: 11
9
+
---
10
+
11
+
# TabStrip Tabs Alignment
12
+
13
+
By design, the tabs are displayed on the left side of the TabStrip header.
14
+
15
+
You can customize their alignment through the `TabAlignment` parameter. It takes a member of the `Telerik.Blazor.TabStripTabAlignment` enumeration:
Copy file name to clipboardExpand all lines: components/tabstrip/tabs-position.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Tabs Position
3
3
page_title: TabStrip Tabs Position
4
-
description: Overview of the TabStrip for Blazor.
4
+
description: The TabPosition parameter in the TabStrip component allows you to control the positioning of the tabs. By default, tabs are positioned at the top of the TabStrip.
5
5
slug: tabstrip-tabs-position
6
6
tags: telerik,blazor,tab,strip,tabstrip,position
7
7
published: True
@@ -37,4 +37,4 @@ You can customize their position through the optional `TabPosition` attribute of
0 commit comments