Skip to content

Commit 4774197

Browse files
svdimitrjivanova
authored andcommitted
docs(icons): icons chunk
1 parent 819a6db commit 4774197

24 files changed

+44
-44
lines changed

components/multicolumncombobox/columns/templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The `HeaderTemplate` allows you to control the rendering of the column's header.
3838
</MultiColumnComboBoxColumn>
3939
<MultiColumnComboBoxColumn Field="@nameof(SampleData.Name)">
4040
<HeaderTemplate>
41-
<TelerikFontIcon Icon="star-outline"></TelerikIcon>
41+
<TelerikFontIcon Icon=FontIcon.StarOutline></TelerikIcon>
4242
Employee Name
4343
</HeaderTemplate>
4444
</MultiColumnComboBoxColumn>

components/scheduler/templates/slot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The `context` of the template is a `SchedulerSlotTemplateContext` object that co
6666
@if (context.Start.TimeOfDay >= ControlDate.TimeOfDay
6767
&& context.End.AddSeconds(-1).TimeOfDay <= ControlDate.AddHours(1).TimeOfDay)
6868
{
69-
<div style="color: green;"><TelerikFontIcon Icon="pause"></TelerikIcon>Lunch Break</div>
69+
<div style="color: green;"><TelerikFontIcon Icon=FontIcon.Pause></TelerikIcon>Lunch Break</div>
7070
}
7171
</SlotTemplate>
7272
<AllDaySlotTemplate>
@@ -81,7 +81,7 @@ The `context` of the template is a `SchedulerSlotTemplateContext` object that co
8181
@if (context.Start.TimeOfDay >= ControlDate.TimeOfDay
8282
&& context.End.AddSeconds(-1).TimeOfDay <= ControlDate.AddHours(1).TimeOfDay)
8383
{
84-
<div style="color: green;"><TelerikFontIcon Icon="pause"></TelerikIcon>Lunch Break</div>
84+
<div style="color: green;"><TelerikFontIcon Icon=FontIcon.Pause></TelerikIcon>Lunch Break</div>
8585
}
8686
</SlotTemplate>
8787
<AllDaySlotTemplate>

components/toolbar/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The `OnClick` event fires when the user clicks on a button in the ToolBar (also
2727
@*When clicking on the button a message will be printed in your console*@
2828
2929
<TelerikToolBar>
30-
<ToolBarButton Icon="hyperlink-email" OnClick="@OnHyperlinkClick">Hyperlink</ToolBarButton>
30+
<ToolBarButton Icon=FontIcon.EnvelopLink OnClick="@OnHyperlinkClick">Hyperlink</ToolBarButton>
3131
</TelerikToolBar>
3232
3333

components/toolbar/overview.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,15 @@ The Blazor Toolbar has an option for adaptiveness. This option allows you to hid
115115
<ToolBarButton Icon=FontIcon.Redo>Redo</ToolBarButton>
116116
<ToolBarButton Icon=FontIcon.Image Overflow="ToolBarItemOverflow.Always">Image</ToolBarButton>
117117
<ToolBarSeparator></ToolBarSeparator>
118-
<ToolBarToggleButton Icon="apply-format"></ToolBarToggleButton>
118+
<ToolBarToggleButton Icon=FontIcon.ApplyFormat></ToolBarToggleButton>
119119
<ToolBarSeparator></ToolBarSeparator>
120-
<ToolBarButton Icon="copy" Overflow="ToolBarItemOverflow.Never">Copy</ToolBarButton>
120+
<ToolBarButton Icon=FontIcon.Copy Overflow="ToolBarItemOverflow.Never">Copy</ToolBarButton>
121121
<ToolBarButton Icon="paste" Overflow="ToolBarItemOverflow.Never">Paste</ToolBarButton>
122122
<ToolBarSeparator></ToolBarSeparator>
123123
<ToolBarButtonGroup SelectionMode="@ButtonGroupSelectionMode.Single">
124-
<ToolBarToggleButton Icon="align-left" OverflowText="Left"></ToolBarToggleButton>
125-
<ToolBarToggleButton Icon="align-center" OverflowText="Center"></ToolBarToggleButton>
126-
<ToolBarToggleButton Icon="align-right" OverflowText="Right"></ToolBarToggleButton>
124+
<ToolBarToggleButton Icon=FontIcon.AlignLeft OverflowText="Left"></ToolBarToggleButton>
125+
<ToolBarToggleButton Icon=FontIcon.AlignCenter OverflowText="Center"></ToolBarToggleButton>
126+
<ToolBarToggleButton Icon=FontIcon.AlignRight OverflowText="Right"></ToolBarToggleButton>
127127
</ToolBarButtonGroup>
128128
</TelerikToolBar>
129129
</div>

components/toolbar/separators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ You can visually separate the items in the Telerik ToolBar for Blazor. Depending
3030
<ToolBarButtonGroup>
3131
<ToolBarButton Icon=FontIcon.Bold>Bold</ToolBarButton>
3232
<ToolBarButton Icon=FontIcon.Italic>Italic</ToolBarButton>
33-
<ToolBarButton Icon="underline">Underline</ToolBarButton>
33+
<ToolBarButton Icon=FontIcon.Underline>Underline</ToolBarButton>
3434
</ToolBarButtonGroup>
3535
<ToolBarSpacer />
3636
<ToolBarToggleButton @bind-Selected="@Selected">Toggle Button</ToolBarToggleButton>

components/toolbar/templated-item.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ You cannot add those Templated items to a `ToolBarButtonGroup`.
2727
<ToolBarButtonGroup>
2828
<ToolBarButton Icon=FontIcon.Bold>Bold</ToolBarButton>
2929
<ToolBarButton Icon=FontIcon.Italic>Italic</ToolBarButton>
30-
<ToolBarButton Icon="underline">Underline</ToolBarButton>
30+
<ToolBarButton Icon=FontIcon.Underline>Underline</ToolBarButton>
3131
</ToolBarButtonGroup>
3232
<ToolBarSeparator />
3333

components/tooltip/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ The Tooltip will automatically display the value of `title` and `alt` attributes
2828
<div style="padding: 5em;">
2929
Hover the button ...
3030
31-
<TelerikButton Icon="eye" Title="Hello world!" Class="tooltip-target" />
31+
<TelerikButton Icon=FontIcon.Eye Title="Hello world!" Class="tooltip-target" />
3232
3333
... and the question mark:
3434
3535
<span title="I am a Telerik Blazor Tooltip." class="tooltip-target">
36-
<TelerikFontIcon Icon="question-circle" />
36+
<TelerikFontIcon Icon=FontIcon.QuestionCircle />
3737
</span>
3838
</div>
3939
````

components/treeview/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ The `SelectedItemsChanged` event fires when the [selection]({%slug treeview-sele
103103
<div>
104104
<span>Console</span>
105105
<span>
106-
<TelerikButton OnClick="@OnClearClick" Icon="clear">Clear</TelerikButton>
106+
<TelerikButton OnClick="@OnClearClick" Icon=FontIcon.X>Clear</TelerikButton>
107107
</span>
108108
<div>
109109
@(new MarkupString(EventLog))

components/window/actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ You can mix custom actions with built-in actions, and you do not have to define
113113
<WindowAction Name="MyAction" Icon=FontIcon.InfoCircle OnClick="@MyCustomActionHandler" />
114114
<WindowAction Name="Maximize" />
115115
<WindowAction Hidden="@( string.IsNullOrEmpty(result) )"
116-
Icon="clear-css"
116+
Icon=FontIcon.ClearCss
117117
Name="CustomActionWithAllParameters"
118118
Title="my custom title attribute that is a tooltip when you hover the action"
119119
OnClick="@( () => result = string.Empty )" />

components/wizard/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The Wizard uses a [Stepper component]({%slug stepper-overview%}) internally, so
3131
<p>Welcome to the Wizard!</p>
3232
</Content>
3333
</WizardStep>
34-
<WizardStep Label="Survey" Icon="pencil">
34+
<WizardStep Label="Survey" Icon=FontIcon.Pencil>
3535
<Content>
3636
<p>The user is performing some actions...</p>
3737
</Content>

0 commit comments

Comments
 (0)