Feature Request: ListBox / ListView with option of triggers instead of visual states (such as gridview) for better performance

未關閉
#2,953 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
25/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
csharp

研究方向

從 DemoApp Lists 的重現開始,檢查 ListBox/ListView 在滑鼠移入、選取、ripple 效果和視覺狀態方面的行為。比較目前視覺狀態方法對效能的影響,包括使用透明度的 WindowStyle="None";要算完成,需要一個範圍明確的低資源觸發器選項,以及驗證改善效果的方法。

由索引模型根據 Issue 內容生成。

描述

bug evaluation required
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

  1. Even when I use materialDesign:ListBoxItemAssist.ShowSelection="False" and it will not happen anymore mouse over but it will happen on mouse click
  2. It looks like it is also affected by WindowStyle="None" ResizeMode="NoResize" AllowsTransparency="True"
  3. OK it's the ripple and visual states but again I think it's not normal (still looking and possible will close this)
  4. Closing this but ideally I should be able to use some basic mouse over and ripple with low resources
主要語言
C#
星號
16.3k
分支
3.5k
平均合併
4 小時 25 分鐘
30 天內合併 PR
4

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

MaterialDesignInXAML/MaterialDesignInXamlToolkit 的其他 Issue

查看 MaterialDesignInXAML/MaterialDesignInXamlToolkit 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。