Skip to content

Commit 763ad4e

Browse files
Updated the code snippets
1 parent 9482793 commit 763ad4e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

MAUI/TreeView/empty-view.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ The `SfTreeView` control allows you to display and customize the empty view cont
1616
The `EmptyView` property in `SfTreeView` can be set to a string, which will be displayed when no items are present in the tree view.
1717

1818
{% tabs %}
19-
{% highlight xaml hl_lines="4" %}
20-
<ContentPage xmlns:syncfusion="clr-namespace:Syncfusion.Maui.TreeView;assembly=Syncfusion.Maui.TreeView">
19+
{% highlight xaml hl_lines="3" %}
2120
<syncfusion:SfTreeView x:Name="treeView"
2221
ItemsSource="{Binding Items}"
2322
EmptyView="No Items">
@@ -36,8 +35,7 @@ treeView.EmptyView = "No Items";
3635
The `SfTreeView` control uses the `EmptyView` property to display a custom view when the tree has no items.
3736

3837
{% tabs %}
39-
{% highlight xaml hl_lines="4" %}
40-
<ContentPage xmlns:syncfusion="clr-namespace:Syncfusion.Maui.TreeView;assembly=Syncfusion.Maui.TreeView">
38+
{% highlight xaml hl_lines="3" %}
4139
<syncfusion:SfTreeView x:Name="treeView"
4240
ItemsSource="{Binding Items}">
4341
<syncfusion:SfTreeView.EmptyView>

0 commit comments

Comments
 (0)