Skip to content

Commit e7f4f87

Browse files
svdimitrjivanova
authored andcommitted
docs(icons): next chunk
1 parent 0de3d01 commit e7f4f87

File tree

16 files changed

+27
-28
lines changed

16 files changed

+27
-28
lines changed

components/avatar/types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ If the `Type` parameter value is not matching the type of the content, you will
4141
4242
<TelerikAvatar Type="AvatarType.Icon">
4343
44-
<TelerikIcon Icon="FontIcon.User"></TelerikIcon>
44+
<TelerikIcon Icon=FontIcon.User></TelerikIcon>
4545
4646
</TelerikAvatar>
4747
````

components/breadcrumb/separator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Furthermore, you can take full control over the Separator rendering with the [Se
2323
````CSHTML
2424
@* This example demonstrates how to change the default Telerik icon used as a Breadcrumb Separator*@
2525
26-
<TelerikBreadcrumb SeparatorIcon="FontIcon.CaretDoubleAltRight"
26+
<TelerikBreadcrumb SeparatorIcon=FontIcon.CaretDoubleAltRight
2727
Data="@Items">
2828
</TelerikBreadcrumb>
2929

components/drawer/modes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The drawer's height is dynamic based on the height of the content (you can chang
3636
@* This example shows how the drawer behaves in Push mode. It uses item selection to toggle the content for brevity. *@
3737
3838
<div>
39-
<TelerikButton OnClick="@(() => DrawerRef.ToggleAsync())" Icon="menu">Toggle drawer</TelerikButton>
39+
<TelerikButton OnClick="@(() => DrawerRef.ToggleAsync())" Icon="@("menu")">Toggle drawer</TelerikButton>
4040
<TelerikDrawer @bind-Expanded="@Expanded"
4141
Data="@Data"
4242
MiniMode="true"
@@ -61,14 +61,14 @@ The drawer's height is dynamic based on the height of the content (you can chang
6161
public IEnumerable<DrawerItem> Data { get; set; } =
6262
new List<DrawerItem>
6363
{
64-
new DrawerItem { Text = "Counter", Icon = "plus"},
65-
new DrawerItem { Text = "FetchData", Icon = "grid-layout"},
64+
new DrawerItem { Text = "Counter", Icon = FontIcon.Plus},
65+
new DrawerItem { Text = "FetchData", Icon = FontIcon.GridLayout},
6666
};
6767
6868
public class DrawerItem
6969
{
7070
public string Text { get; set; }
71-
public string Icon { get; set; }
71+
public FontIcon? Icon { get; set; }
7272
}
7373
}
7474
````

components/gantt/gantt-tree/columns/command.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,7 @@ The following code example demonstrates declarations and handling of the built-i
124124
DisplayFormat="{0:d}">
125125
</GanttColumn>
126126
<GanttCommandColumn>
127-
<GanttCommandButton OnClick="@((args) => GetTaskDetails(args))" Icon="info-circle
128-
"></GanttCommandButton>
127+
<GanttCommandButton OnClick="@((args) => GetTaskDetails(args))" Icon=FontIcon.InfoCircle></GanttCommandButton>
129128
<GanttCommandButton Command="Add" Icon=FontIcon.Plus></GanttCommandButton>
130129
<GanttCommandButton Command="Delete" Icon=FontIcon.Trash></GanttCommandButton>
131130
</GanttCommandColumn>

components/listview/editing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The CUD operations are implemented through dedicated events that let you alter t
5656
</div>
5757
</Template>
5858
<HeaderTemplate>
59-
<ListViewCommandButton Command="Add" Icon="plus">Add Employee</ListViewCommandButton>
59+
<ListViewCommandButton Command="Add" Icon=FontIcon.Plus>Add Employee</ListViewCommandButton>
6060
<p>In this sample, the first item will not open for editing because of the code in the OnEdit handler</p>
6161
</HeaderTemplate>
6262
</TelerikListView>

components/listview/events.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ In the common case, you provide all the data to the listview's Data collection a
6666
</div>
6767
</Template>
6868
<HeaderTemplate>
69-
<ListViewCommandButton Command="Add" Icon="plus">Add Employee</ListViewCommandButton>
69+
<ListViewCommandButton Command="Add" Icon=FontIcon.Plus>Add Employee</ListViewCommandButton>
7070
<p>In this sample, the first item will not open for editing because of the code in the OnEdit handler</p>
7171
</HeaderTemplate>
7272
</TelerikListView>
@@ -233,7 +233,7 @@ In the common case, you provide all the data to the listview's Data collection a
233233
</div>
234234
</Template>
235235
<HeaderTemplate>
236-
<ListViewCommandButton Command="Add" Icon="plus">Add Employee</ListViewCommandButton>
236+
<ListViewCommandButton Command="Add" Icon=FontIcon.Plus>Add Employee</ListViewCommandButton>
237237
<p>In this sample, the first item will not open for editing because of the code in the OnEdit handler</p>
238238
</HeaderTemplate>
239239
</TelerikListView>
@@ -407,7 +407,7 @@ In the common case, you provide all the data to the listview's Data collection a
407407
</div>
408408
</Template>
409409
<HeaderTemplate>
410-
<ListViewCommandButton Command="Add" Icon="plus">Add Employee</ListViewCommandButton>
410+
<ListViewCommandButton Command="Add" Icon=FontIcon.Plus>Add Employee</ListViewCommandButton>
411411
<p>In this sample, the first item will not open for editing because of the code in the OnEdit handler</p>
412412
</HeaderTemplate>
413413
</TelerikListView>

components/multicolumncombobox/columns/templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The `HeaderTemplate` allows you to control the rendering of the column's header.
3232
<MultiColumnComboBoxColumns>
3333
<MultiColumnComboBoxColumn Field="@nameof(SampleData.Id)">
3434
<HeaderTemplate>
35-
<TelerikIcon Icon="info-circle"></TelerikIcon>
35+
<TelerikFontIcon Icon=FontIcon.InfoCircle></TelerikFontIcon>
3636
Unique identifier
3737
</HeaderTemplate>
3838
</MultiColumnComboBoxColumn>

components/scheduler/templates/dateheader.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ The `DateHeaderTemplate` can be defined for the [day and week Scheduler views]({
2424
<SchedulerDayView StartTime="@DayStart" EndTime="@DayEnd" WorkDayStart="@WorkDayStart" WorkDayEnd="@WorkDayEnd">
2525
<DateHeaderTemplate>
2626
<div>
27-
<TelerikIcon Icon="info-circle"></TelerikIcon>
27+
<TelerikFontIcon Icon=FontIcon.InfoCircle></TelerikFontIcon>
2828
@context.ToShortDateString()
2929
</div>
3030
</DateHeaderTemplate>
3131
</SchedulerDayView>
3232
<SchedulerWeekView StartTime="@DayStart" EndTime="@DayEnd" WorkDayStart="@WorkDayStart" WorkDayEnd="@WorkDayEnd">
3333
<DateHeaderTemplate>
3434
<div>
35-
<TelerikIcon Icon="info-circle"></TelerikIcon>
35+
<TelerikFontIcon Icon=FontIcon.InfoCircle></TelerikFontIcon>
3636
@context.ToShortDateString()
3737
</div>
3838
</DateHeaderTemplate>

components/treelist/editing/incell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Editing is cancelled for the first record.
6060
</TreeListToolBarTemplate>
6161
<TreeListColumns>
6262
<TreeListCommandColumn Width="200px">
63-
<TreeListCommandButton Command="Add" Icon="plus">Add Child</TreeListCommandButton>
63+
<TreeListCommandButton Command="Add" Icon=FontIcon.Plus>Add Child</TreeListCommandButton>
6464
<TreeListCommandButton Command="Delete" Icon=FontIcon.Trash>Delete</TreeListCommandButton>
6565
</TreeListCommandColumn>
6666

components/treelist/editing/inline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Editing is cancelled for the first record.
4444
</TreeListToolBarTemplate>
4545
<TreeListColumns>
4646
<TreeListCommandColumn Width="280px">
47-
<TreeListCommandButton Command="Add" Icon="plus">Add Child</TreeListCommandButton>
47+
<TreeListCommandButton Command="Add" Icon=FontIcon.Plus>Add Child</TreeListCommandButton>
4848
<TreeListCommandButton Command="Edit" Icon=FontIcon.Pencil>Edit</TreeListCommandButton>
4949
<TreeListCommandButton Command="Delete" Icon=FontIcon.Trash>Delete</TreeListCommandButton>
5050
<TreeListCommandButton Command="Save" Icon=FontIcon.Save ShowInEdit="true">Update</TreeListCommandButton>

0 commit comments

Comments
 (0)