Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug title #1656

Open
tengfei8771 opened this issue Sep 27, 2024 · 0 comments
Open

Bug title #1656

tengfei8771 opened this issue Sep 27, 2024 · 0 comments

Comments

@tengfei8771
Copy link

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

QQ20240927-172055
QQ20240927-172117

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant