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: MAUI/TreeView/empty-view.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,29 +9,31 @@ documentation: ug
9
9
10
10
# Empty view in .NET MAUI TreeView (SfTreeView)
11
11
12
-
The `SfTreeView` control allows you to display and customize the empty view content when no data is available. The `EmptyView` property can be set to a string or a view, which will be displayed when the `ItemsSource` is null or when the collection bound to the `ItemsSource`is empty and`EmptyViewTemplate` is used to customize the appearance of `EmptyView`.
12
+
The `SfTreeView` control allows you to display and customize the empty view content when no data is available. The `EmptyView` property can be set to either a string or a view, and it will be displayed when the `ItemsSource` is empty or null, or the `Nodes` collection is empty.`EmptyViewTemplate` is used to customize the appearance of `EmptyView`.
13
13
14
-
## Display a string when treeView has no items
14
+
## Display a string when TreeView has no items
15
15
16
-
The `EmptyView` property can be set to a string.
16
+
The `EmptyView` property in `SfTreeView`can be set to a string, which will be displayed when no items are present in the tree view.
0 commit comments