Skip to content

Commit ae3fb0f

Browse files
svdimitrjivanova
authored andcommitted
docs(icons): icons
1 parent f869dbe commit ae3fb0f

File tree

8 files changed

+32
-32
lines changed

8 files changed

+32
-32
lines changed

components/multicolumncombobox/templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ You can access the `context` object and cast it to the bound model to employ som
7474
</FooterTemplate>
7575
<NoDataTemplate>
7676
<div class="no-data-template">
77-
<TelerikFontIcon Class="k-icon k-icon-lg" Icon="files-error"></TelerikIcon>
77+
<TelerikFontIcon Class="k-icon k-icon-lg" Icon=FontIcon.FilesError></TelerikIcon>
7878
<p>No items available</p>
7979
</div>
8080
</NoDataTemplate>

components/multiselect/templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The MultiSelect component allows you to change what is rendered in its items, he
6060
</FooterTemplate>
6161
<NoDataTemplate>
6262
<div class="no-data-template">
63-
<TelerikFontIcon Class="k-icon k-icon-lg" Icon="files-error"></TelerikIcon>
63+
<TelerikFontIcon Class="k-icon k-icon-lg" Icon=FontIcon.FilesError></TelerikIcon>
6464
<p>No items available</p>
6565
</div>
6666
</NoDataTemplate>

components/tilelayout/state.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ You can consider saving the current state of the component in events that it exp
4040
@inject IJSRuntime JsInterop
4141
4242
<TelerikButton OnClick="@SaveState" Icon=FontIcon.Save Class="mr-sm">Save State</TelerikButton>
43-
<TelerikButton OnClick="@ReloadPage" Icon="reload" Class="mr-sm">Reload the page</TelerikButton>
44-
<TelerikButton OnClick="@LoadState" Icon="download" Class="mr-sm">Load last State</TelerikButton>
45-
<TelerikButton OnClick="@SetExplicitState" Icon="gear" Class="mr-sm">Configure State</TelerikButton>
43+
<TelerikButton OnClick="@ReloadPage" Icon=FontIcon.ArrowRotateCw Class="mr-sm">Reload the page</TelerikButton>
44+
<TelerikButton OnClick="@LoadState" Icon=FontIcon.Download Class="mr-sm">Load last State</TelerikButton>
45+
<TelerikButton OnClick="@SetExplicitState" Icon=FontIcon.Gear Class="mr-sm">Configure State</TelerikButton>
4646
4747
<TelerikTileLayout @ref="@TileLayoutInstance"
4848
Columns="3"

components/treelist/columns/command.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ The `OnClick` handler of the commands receives an argument of type `TreeListComm
108108
<TreeListCommandButton Command="Edit" Icon=FontIcon.Pencil>Edit</TreeListCommandButton>
109109
<TreeListCommandButton Command="Save" Icon=FontIcon.Save ShowInEdit="true" OnClick="@CustomSaveClick">Update</TreeListCommandButton>
110110
<TreeListCommandButton Command="Cancel" Icon=FontIcon.Cancel ShowInEdit="true">Cancel</TreeListCommandButton>
111-
<TreeListCommandButton Command="MyCustomCommand" Icon="gear" OnClick="@MyCustomCommandHandler">Custom Command</TreeListCommandButton>
111+
<TreeListCommandButton Command="MyCustomCommand" Icon=FontIcon.Gear OnClick="@MyCustomCommandHandler">Custom Command</TreeListCommandButton>
112112
</TreeListCommandColumn>
113113
114114
<TreeListColumn Field="Name" Expandable="true" Width="320px" />

components/treelist/templates/filter.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -57,29 +57,29 @@ For example, try filtering with a Min value of 50+ to leave only root-level item
5757
<TreeListColumns>
5858
<TreeListColumn Field="Name" Expandable="true" Width="320px" Filterable="false" />
5959
<TreeListColumn Field="Id" Filterable="false" Width="100px" />
60-
<TreeListColumn Field="Age" Width="350px">
61-
<FilterCellTemplate>
62-
@{
63-
// we store a reference to the filter context to use in the business logic
64-
// you can also use it inline in the template, like with the Clear button below
65-
AgeFilterContext = context;
66-
}
67-
68-
<label for="min">Min:&nbsp;</label>
69-
<TelerikNumericTextBox Id="min"
70-
@bind-Value="@MinValue"
71-
OnChange="@SetupFilterRule">
72-
</TelerikNumericTextBox>
73-
<label for="min">Max:&nbsp;</label>
74-
<TelerikNumericTextBox Id="max"
75-
@bind-Value="@MaxValue"
76-
OnChange="@SetupFilterRule">
77-
</TelerikNumericTextBox>
78-
<TelerikButton ButtonType="ButtonType.Button"
79-
Class="k-clear-button-visible ml-2"
80-
Icon=FontIcon.FilterClear
81-
Enabled="@( MinValue != null || MaxValue != null )"
82-
OnClick="@(async () =>
60+
<TreeListColumn Field="Age" Width="350px">
61+
<FilterCellTemplate>
62+
@{
63+
// we store a reference to the filter context to use in the business logic
64+
// you can also use it inline in the template, like with the Clear button below
65+
theFilterContext = context;
66+
}
67+
68+
<label for="min">Min:&nbsp;</label>
69+
<TelerikNumericTextBox Id="min"
70+
@bind-Value="@MinValue"
71+
OnChange="@SetupFilterRule">
72+
</TelerikNumericTextBox>
73+
<label for="min">Max:&nbsp;</label>
74+
<TelerikNumericTextBox Id="max"
75+
@bind-Value="@MaxValue"
76+
OnChange="@SetupFilterRule">
77+
</TelerikNumericTextBox>
78+
<TelerikButton ButtonType="ButtonType.Button"
79+
Class="k-clear-button-visible ml-2"
80+
Icon=FontIcon.FilterClear
81+
Enabled="@( MinValue != null || MaxValue != null )"
82+
OnClick="@(async () =>
8383
{
8484
MinValue = MaxValue = null;
8585

components/window/actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Custom actions can call C# directly
7777
7878
<TelerikWindow Visible="true">
7979
<WindowActions>
80-
<WindowAction Name="MyAction" Icon="gear" OnClick="@MyCustomActionHandler" />
80+
<WindowAction Name="MyAction" Icon=FontIcon.Gear OnClick="@MyCustomActionHandler" />
8181
</WindowActions>
8282
<WindowContent>
8383
@result

components/wizard/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The Wizard uses a [Stepper component]({%slug stepper-overview%}) internally, so
2626
````CSHTML
2727
<TelerikWizard @bind-Value="@WizardValue">
2828
<WizardSteps>
29-
<WizardStep Label="Start" Icon="gear">
29+
<WizardStep Label="Start" Icon=FontIcon.Gear>
3030
<Content>
3131
<p>Welcome to the Wizard!</p>
3232
</Content>

knowledge-base/grids-foreign-key.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ own data source and return it from a service to render in the corresponding head
9999
</TelerikButton>
100100
<TelerikButton ButtonType="ButtonType.Button"
101101
Class="k-clear-button-visible ml-2"
102-
Icon="filter-clear"
102+
Icon=FontIcon.FilterClear
103103
Enabled="@( FilteredRoles.Any() )"
104104
OnClick="@(async () =>
105105
{

0 commit comments

Comments
 (0)