Open higty opened 1 year ago
This is just an example, TreeView doesn't include that icon in the nuget package built-in.
Resources/Images
path
https://github.com/enisn/TreeView.Maui/blob/main/sandbox/SandboxTreeView/Resources/Images/check.png<t:TreeView ItemsSource="{Binding Nodes}">
<t:TreeView.ItemTemplate>
<DataTemplate>
<HorizontalStackLayout>
<HorizontalStackLayout.GestureRecognizers>
<TapGestureRecognizer Command="{Binding ToggleCommand}" />
</HorizontalStackLayout.GestureRecognizers>
<Image Source="folder.png" IsVisible="{Binding IsDirectory}" HeightRequest="30"/>
<Label Text="{Binding Name}"/>
<Image Source="check.png" IsVisible="{Binding IsSelected}" HeightRequest="30"/>
</HorizontalStackLayout>
</DataTemplate>
</t:TreeView.ItemTemplate>
</t:TreeView>
Thanks. I'll try.
I think same issue with #11
Can you check again with new version, it should be fixed
As title described.