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: _contentTemplates/chart/link-to-basics.md
+9-11Lines changed: 9 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,20 +8,17 @@ This article assumes you are familiar with the [chart basics]({%slug components/
8
8
Bar and Column charts can take the color of the series item from the `ColorField` of the data source. You can pass a valid CSS color (for example, `#abcdef`, `#f00`, or `blue`).
>tip The event is an `EventCallback` and its type can be `void`, or it can also be asynchronous and return `async Task`.
3
+
#end
4
+
5
+
#ensure-nuget-packge-for-upgrade
6
+
Make sure that you have a NuGet feed source with the version you want to upgrade to. This is usually the [Telerik NuGet Feed]({%slug installation/nuget%}), but you can also use a local feed from [our MSI installer]({%slug installation/msi%}) or [ZIP archive]({%slug installation/zip%}).
Copy file name to clipboardExpand all lines: common-features/font-icons.md
+12-13Lines changed: 12 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ position: 1
10
10
11
11
# Built-in Icons
12
12
13
-
The UI for Blazor suite comes with a set of font icons that you can use in various places like in the Button component.
13
+
The UI for Blazor suite comes with a set of font icons that you can use in various places like in the Button component, or as a standalone component.
14
14
15
15
To use a predefined font icon, you can set the corresponding property to a member of the `Telerik.Blazor.IconName` static class. The Visual Studio intellisense should provide you with the available options.
16
16
@@ -36,27 +36,26 @@ You can find the full list of available icons in the [Kendo UI Web Font Icons Li
36
36
>caption Render a standalone font icon through the TelerikIcon component
37
37
38
38
````CSHTML
39
-
@using Telerik.Blazor
40
-
@using Telerik.Blazor.Components
41
-
42
-
<TelerikIcon IconName="@IconName.Audio" /> @* will render the audio speaker icon *@
39
+
@using Telerik.Blazor.Components.Common.Icon
43
40
44
-
<TelerikIcon Class="oi oi-home" /> @* home icon from OpenIconic, assuming you have loaded the font on the page *@
41
+
<TelerikIcon Icon="@IconName.Audio" /> @* will render the audio note icon *@
45
42
46
-
<TelerikIcon Class="my-font-icon-class" /> @* In this simple example, the built-in Telerik icon font matching the glyph position will be used, unless you provide an actual font icon of your own to override the values *@
43
+
<TelerikIcon IconClass="oi oi-home" /> @* home icon from OpenIconic, assuming you have loaded the font on the pag, you can use your own CSS classes and font icon fonts *@
47
44
48
-
<style>
49
-
.my-font-icon-class::before {
50
-
font: myFontIconFont; /* use actual font icon font */
51
-
content: "\e123"; /* use actual glyph position */
52
-
}
53
-
</style>
45
+
<TelerikIcon ImageUrl="https://demos.telerik.com/kendo-ui/content/shared/icons/sports/snowboarding.png" /> @* an image by URL, renders an actual <img /> tag *@
54
46
````
55
47
56
48
>caption The result from the snippet above
57
49
58
50

59
51
52
+
The priority order of the Icon properties, if more than one is defined, is
@@ -39,8 +37,8 @@ To use the animation container, add the `TelerikAnimationContainer` tag.
39
37
40
38
The animation container exposes the following properties and methods:
41
39
42
-
*`Show()`, `Hide()` and `Toggle()` - to control whether the container is shown.
43
-
*`Width` and `Height` - to control its size.
40
+
*`Show()`, `Hide()` and `Toggle()`; `ShowAsync()`, `HideAsync()` and `ToggleAsync()` - to control whether the container is shown.
41
+
*`Width` and `Height` - to control its [size]({%slug common-features/dimensions%}).
44
42
*`Top` and `Left` - to control its offset from its parent with special positioning (`relative`, `absolute`, `fixed`).
45
43
*`AnimationType` and `AnimationDuration` to control the way it is shown and hidden. The animation duration is in milliseconds (defaults to `300`), and the type is of the `Telerik.Blazor.AnimationType` enum with the following options:
46
44
* SlideUp,
@@ -61,9 +59,7 @@ The animation container exposes the following properties and methods:
0 commit comments