Themes breaks virtualizing when grouped

WPF Studio, Themes, and Shared Library for WPF Forum

Posted 10 years ago by Ulf Johansen
Version: 14.1.0601
Platform: .NET 4.5
Environment: Windows 8 (64-bit)
Avatar

When using IsVirtualizingWhenGrouped for a ListBox virtualization works when AreNativeThemesEnabled is false but it stops virtualizing when it is set to true so seems the control template is messed up by the theme?

Regards

Ulf Johansen

[Modified 10 years ago]

Comments (4)

Posted 10 years ago by Ulf Johansen
Avatar

After a bit of investigation it seems the problem might be because the CanContentScroll property on the ScrollContentPresenter is not forwarded correctly in the control template.

Regards

Ulf Johansen

[Modified 10 years ago]

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Ulf,

Our themed Style for ListBox is similar to what is listed as the default Microsoft one (http://msdn.microsoft.com/en-us/library/ms754242(v=vs.110).aspx).  The differences are that we use one of our ElementChromes instead of a Border, and we use an ItemsPresenter instead of an explicitly-defined StackPanel.  All the setters for CanContentScroll are the same though.

Could you make a new simple sample project that shows the issue and mail it over so we can have a look?  Please reference this thread and rename the .zip file extension so it doesn't get spam blocked.  If you can do this soon, we can try and make any necessary changes before the upcoming maintenance release goes live.  Thanks!


Actipro Software Support

Posted 10 years ago by Andrew Hanlon
Avatar

Hi, It frightens me a little that you list the microsoft theme example as a basis for how the actipro themes are designed. If you compare the MSDN example to the actual extracted xaml from the .net dlls you will see that those examples are extremely stripped down - many of the virtualizing aspects are entirely missing from the MSDN examples.

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Andrew,

We had used an offline copy of the themes back when we built them.  Where specifically are you looking to see the latest pure XAML themes?


Actipro Software Support

The latest build of this product (v24.1.2) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.