MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
Feature Request: ListBox / ListView with option of triggers instead of visual states (such as gridview) for better performance
还没有人认领这个 Issue。
- 主要语言
- C#
- 星标
- 16.3k
- 派生
- 3.5k
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 8
描述
Bug explanation Feature Request
Hi and Thanks for your awesome library :)
Trying to implement my first WPF project (a media player) based on Material Design but I'm having a lot of performance issues.
The serious one is with ListBox / ListView when the mouse is over which I will try to investigate further by customizing the templates.
You can reproduce it easy with the DemoApp Lists and check your task manager (add GPU column).
I have also other performance issues mainly on full screen with a drawer (seems related to #1116).
Regards,
John
Version
4.6.1 and latest beta
Updates
- Even when I use materialDesign:ListBoxItemAssist.ShowSelection="False" and it will not happen anymore mouse over but it will happen on mouse click
- It looks like it is also affected by WindowStyle="None" ResizeMode="NoResize" AllowsTransparency="True"
- OK it's the ripple and visual states but again I think it's not normal (still looking and possible will close this)
- Closing this but ideally I should be able to use some basic mouse over and ripple with low resources
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 DemoApp Lists 的复现开始,检查 ListBox/ListView 在鼠标悬停、选择、ripple 效果和视觉状态方面的行为。比较当前视觉状态方案对性能的影响,包括使用透明度的 WindowStyle="None";要算完成,需要一个范围明确的低资源触发器选项,以及验证改进效果的方法。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- desktop, performance
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100