Skip to content

Commit 1deac10

Browse files
committed
Update TreeView documentation to enhance clarity with note formatting
1 parent 92faafb commit 1deac10

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/en/themes/material/components/TreeView.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ If the node object contain its children in a different property, you can set `Is
138138
<material:TreeView ItemsSource="{Binding Nodes}" IsLeafPropertyName="IsLeaf" />
139139
```
140140

141-
> Note: **Leaf** status is already managed by the TreeView. But when lazy-loading is used, TreeView can't know if the node is a leaf or not. So you should set `IsLeafPropertyName` to the name of the property that contains the state of the node.
141+
> [!NOTE]
142+
> **Leaf** status is already managed by the TreeView. But when lazy-loading is used, TreeView can't know if the node is a leaf or not. So you should set `IsLeafPropertyName` to the name of the property that contains the state of the node.
142143
143144
### ChildrenBinding
144145
If the node object contain its children in a different property, you can set `ChildrenBinding` property of the TreeView to the name of the property that contains the children. For example, if you have a `SubItems` property in your node object, you should set `ChildrenBinding` to `SubItems`:
@@ -228,7 +229,8 @@ You can customize the appearance of the TreeView with styles. You override the f
228229
</Style>
229230
```
230231

231-
> _**Note** that, Make sure `material` namespace of TreeView is added to your file, you can add `xmlns:material="http://schemas.enisn-projects.io/dotnet/maui/uraniumui/material"`_
232+
> [!NOTE]
233+
> Make sure `material` namespace of TreeView is added to your file, you can add `xmlns:material="http://schemas.enisn-projects.io/dotnet/maui/uraniumui/material"`
232234
233235

234236
![MAUI TreeView Customizations](../../../../images/treeview-customizations.gif)

0 commit comments

Comments
 (0)