- Notifications
You must be signed in to change notification settings - Fork 80
AppBar documentation #1749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AppBar documentation #1749
Changes from 1 commit
d44f8dd 3972cf1 a0b7a55 975f14f 428ce1a 3d6b7c0 5674812 b85db7c 6cfa8e4 87ea70a 1d28322 589c32e 2761ea3 469c206 c65e5a9 3a3f772 5ef1a9f 4139dbd e180546 ae43599 feb61d7 252a840 ceca370 dc9ba4c 3b54fa4 693fbfb 99ff2ff 59b4027 e954cd5 94232d9 4b10b5d 8da108a 012ec13 c3416cd 959a512 771ea7c File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| --- | ||
| title: Appearance | ||
| page_title: ToolBar Appearance | ||
| description: Appearance settings of the ToolBar for Blazor. | ||
| slug: toolbar-appearance | ||
| tags: telerik,blazor,toolbar,appearance | ||
| published: True | ||
| position: 35 | ||
| --- | ||
| | ||
| # Appearance Settings | ||
| | ||
| This article outlines the available ToolBar parameters, which control its appearance. | ||
| | ||
| ## Size | ||
| | ||
| You can increase or decrease the size of the ToolBar by setting the `Size` parameter to a member of the `Telerik.Blazor.ThemeConstants.ToolBar.Size` class: | ||
| | ||
| | Class members | Manual declarations | | ||
| |---------------|--------| | ||
| | `Small` |`sm`| | ||
| | `Medium`<br /> default value |`md`| | ||
| | `Large` |`lg`| | ||
| | ||
| >caption The built-in sizes | ||
| | ||
| ````CSHTML | ||
| @{ | ||
| var fields = typeof(Telerik.Blazor.ThemeConstants.ToolBar.Size) | ||
| .GetFields(System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Static | ||
| | System.Reflection.BindingFlags.FlattenHierarchy) | ||
| .Where(field => field.IsLiteral && !field.IsInitOnly).ToList(); | ||
| | ||
| foreach (var field in fields) | ||
| { | ||
| string size = field.GetValue(null).ToString(); | ||
| | ||
| <div style="float:left; margin: 20px;"> | ||
| <TelerikToolBar Size="@size"> | ||
| <ToolBarButton Icon="@SvgIcon.Cut">Cut</ToolBarButton> | ||
| <ToolBarButton Icon="@SvgIcon.Copy">Copy</ToolBarButton> | ||
| <ToolBarButton Icon="@SvgIcon.Clipboard">Paste</ToolBarButton> | ||
| </TelerikToolBar> | ||
| </div> | ||
| } | ||
| } | ||
| ```` | ||
| | ||
| ## See Also | ||
| | ||
| * [Live Demo: ToolBar Appearance](https://demos.telerik.com/blazor-ui/toolbar/appearance) | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,132 @@ | ||||||
| --- | ||||||
| title: Overview | ||||||
| page_title: AppBar Overview | ||||||
| description: Overview of the AppBar component for Blazor. | ||||||
| ||||||
| slug: appbar-overview | ||||||
| tags: telerik,blazor,appbar,navbar | ||||||
| published: True | ||||||
| position: 0 | ||||||
| --- | ||||||
| | ||||||
| # Blazor AppBar Overview | ||||||
| | ||||||
| The <a href = "https://www.telerik.com/blazor-ui/appbar" target="_blank">Blazor AppBar component</a> helps you build navigation bars for your application seemingly. This article explains the available features. | ||||||
svdimitr marked this conversation as resolved. Outdated Show resolved Hide resolved svdimitr marked this conversation as resolved. Outdated Show resolved Hide resolved | ||||||
| | ||||||
| ## Creating Blazor AppBar | ||||||
| | ||||||
| 1. Add the `<TelerikAppBar>` tag to a Razor file. | ||||||
| 1. Use the `<AppBarSection>` child tag to add content to the AppBar component. | ||||||
| (optional) Use [content dividers](#content-dividers) to add visual distinction between the sections in the AppBar. | ||||||
svdimitr marked this conversation as resolved. Outdated Show resolved Hide resolved | ||||||
| (optional) Use [content dividers](#content-dividers) to add visual distinction between the sections in the AppBar. | |
| 1. (optional) Use [content dividers](#content-dividers) to add visual distinction between the sections in the AppBar. |
svdimitr marked this conversation as resolved. Outdated Show resolved Hide resolved
svdimitr marked this conversation as resolved. Outdated Show resolved Hide resolved
svdimitr marked this conversation as resolved. Outdated Show resolved Hide resolved
svdimitr marked this conversation as resolved. Outdated Show resolved Hide resolved
svdimitr marked this conversation as resolved. Outdated Show resolved Hide resolved
svdimitr marked this conversation as resolved. Show resolved Hide resolved
svdimitr marked this conversation as resolved. Outdated Show resolved Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When will this be necessary?
svdimitr marked this conversation as resolved. Outdated Show resolved Hide resolved
svdimitr marked this conversation as resolved. Outdated Show resolved Hide resolved
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| --- | ||
| title: Appearance | ||
| page_title: ToolBar Appearance | ||
| description: Appearance settings of the ToolBar for Blazor. | ||
| slug: toolbar-appearance | ||
| tags: telerik,blazor,toolbar,appearance | ||
| published: True | ||
| position: 35 | ||
| --- | ||
| | ||
| # Appearance Settings | ||
| | ||
| This article outlines the available ToolBar parameters, which control its appearance. | ||
| | ||
| ## Size | ||
| | ||
| You can increase or decrease the size of the ToolBar by setting the `Size` parameter to a member of the `Telerik.Blazor.ThemeConstants.ToolBar.Size` class: | ||
| | ||
| | Class members | Manual declarations | | ||
| |---------------|--------| | ||
| | `Small` |`sm`| | ||
| | `Medium`<br /> default value |`md`| | ||
| | `Large` |`lg`| | ||
| | ||
| >caption The built-in sizes | ||
| | ||
| ````CSHTML | ||
| @{ | ||
| var fields = typeof(Telerik.Blazor.ThemeConstants.ToolBar.Size) | ||
| .GetFields(System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Static | ||
| | System.Reflection.BindingFlags.FlattenHierarchy) | ||
| .Where(field => field.IsLiteral && !field.IsInitOnly).ToList(); | ||
| | ||
| foreach (var field in fields) | ||
| { | ||
| string size = field.GetValue(null).ToString(); | ||
| | ||
| <div style="float:left; margin: 20px;"> | ||
| <TelerikToolBar Size="@size"> | ||
| <ToolBarButton Icon="@SvgIcon.Cut">Cut</ToolBarButton> | ||
| <ToolBarButton Icon="@SvgIcon.Copy">Copy</ToolBarButton> | ||
| <ToolBarButton Icon="@SvgIcon.Clipboard">Paste</ToolBarButton> | ||
| </TelerikToolBar> | ||
| </div> | ||
| } | ||
| } | ||
| ```` | ||
| | ||
| ## See Also | ||
| There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add the most logical next step(s) before See Also. It's good for SEO too. | ||
| | ||
| * [Live Demo: ToolBar Appearance](https://demos.telerik.com/blazor-ui/toolbar/appearance) | ||
Uh oh!
There was an error while loading. Please reload this page.