Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
630
XamRibbon MenuTool - Performance problem with large number of items
posted

Hello.

I'm using a MenuTool with ~10k items and have a performance issue when I click the button for the first time. It takes several minutes until the popup is shown.

What I found out so far is that the most cpu time is used in the MenuToolPanel.MeasureOverride method. It seams to me that the MenuToolPanel doesn't support virtualization and hence renders all items in the initial MeasureOverride call.

Is it possible to enable virtualization for the MenuTool?

Or do I have to change the ItemsPresenter in the Popup style against e.g. VirtualizingStackPanel?

Regards,

Darius