-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
Describe the bug
组件treeView使用或者时样式出现问题
Steps to reproduce the bug
<TreeView d:ItemsSource="{d:SampleData}"> <TreeView.ItemTemplate> <HierarchicalDataTemplate> <TreeViewItem Header="测试"></TreeViewItem> </HierarchicalDataTemplate> </TreeView.ItemTemplate> </TreeView>
使用MVVM模式渲染界面时,此种方式TreeViewItem 的样式异常,字体靠右并且显示的文本有个框子
Expected behavior
和使用一下代码的样式相同
<TreeView d:ItemsSource="{d:SampleData}"> </TreeView>
Screenshots
NuGet package version
HandyControl 3.4.0
IDE
Visual Studio 2022
Framework type
.Net 6.0
Windows version
Windows 11 (22000)
Additional context
.net core 8.0
Metadata
Metadata
Assignees
Labels
No labels

