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: components/menu/data-binding/overview.md
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -28,10 +28,10 @@ The menu items provide the following features that you control through the corre
28
28
29
29
*`Id` - a unique identifier for the item. Required for binding to flat data.
30
30
*`ParentId` - identifies the parent to whom the item belongs. Required only when binding to flat data. All items with the same `ParentId` will be rendered at the same level. For a root level item, this must be `null`.
31
-
*`HasChildren` - can hide child items. The menu will fetch its children from the data source based on the `Id`-`ParentId` relationships (for flat data) or on the presence of the `Items` collection (for hierarchical data). @[template](/_contentTemplates/menu/basic-example.md#has-children-behavior)
31
+
*`HasChildren` - can hide child items. The menu will fetch its children from the data source based on the `Id`-`ParentId` relationships (for flat data) or on the presence of the `Items` collection (for hierarchical data). @[template](/_contentTemplates/menu/basic-example.md#has-children-behavior)
32
32
*`Items` - the collection of child items that will be rendered under the current item. Required only when binding to hierarchical data.
33
33
*`Text` - the text that will be shown on the item.
34
-
*`Icon` / `IconClass` / `ImageUrl` - the [Telerik icon]({%slug general-information/font-icons%}), a class for a custom font icon, or the URL to a raster image that will be rendered in the item. They have the listed order of precedence in case more than one is present in the data (that is, an `Icon` will have the highest importance).
34
+
*`ImageUrl` / `Icon` / `ImageClass` - the [Telerik icon]({%slug general-information/font-icons%}), a class for a custom font icon, or the URL to a raster image that will be rendered in the item. They have the listed order of precedence in case more than one is present in the data (that is, an `ImageUrl` will have the highest importance).
35
35
*`Url` - the view the item will navigate to by generating a link.
36
36
37
37
## Data Bindings
@@ -70,4 +70,3 @@ public class MenuItem
70
70
*[Binding to Hierarchical Data]({%slug components/menu/data-binding/hierarchical-data%})
71
71
*[Live Demo: Menu Flat Data](https://demos.telerik.com/blazor-ui/menu/flat-data)
72
72
*[Live Demo: Menu Hierarchical Data](https://demos.telerik.com/blazor-ui/menu/hierarchical-data)
Copy file name to clipboardExpand all lines: components/treeview/data-binding/overview.md
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ The treeview items provide the following features that you control through the c
33
33
*`HasChildren` - whether the item has children. Determines whether an expand arrow is rendered next to the item. Required for binding to flat data and for load-on-demand. With hierarchical data, the treeview will render the icon based on the existence of child items, but `HasChildren` will take precedence.
34
34
*`Items` - the collection of child items that will be rendered under the current item. Required only when binding to hierarchical data.
35
35
*`Text` - the text that will be shown on the item.
36
-
*`Icon` / `IconClass` / `ImageUrl` - the [Telerik icon]({%slug general-information/font-icons%}), a class for a custom font icon, or the URL to a raster image that will be rendered in the item. They have the listed order of precedence in case more than one is present in the data (that is, an `Icon` will have the highest importance).
36
+
*`ImageUrl` / `Icon` / `IconClass` - the [Telerik icon]({%slug general-information/font-icons%}), a class for a custom font icon, or the URL to a raster image that will be rendered in the item. They have the listed order of precedence in case more than one is present in the data (that is, an `ImageUrl` will have the highest importance).
37
37
*`Url` - the view the item will navigate to by generating a link.
38
38
39
39
## Data Bindings
@@ -94,7 +94,7 @@ If a certain level does not have an explicit data bindings tag, it will use the
94
94
>caption How to use per-level data binding settings to change model fields
95
95
96
96
````CSHTML
97
-
The third level will use the main data bindings settings that do not have a level specified
97
+
The third level will use the main data bindings settings that do not have a level specified
98
98
99
99
<TelerikTreeView Data="@FlatData">
100
100
<TreeViewBindings>
@@ -178,4 +178,3 @@ The third level will use the main data bindings settings that do not have a leve
0 commit comments