Skip to content

ListView Groups with WinUI3 in WinRT/C++? #3787

Answered by pmintusEA
pmintusEA asked this question in Q&A
Discussion options

You must be logged in to vote

The fix was to upgrade to the latest version of the WindowsApp SDK (1.4.230811000-preview2) from 1.2.230217.4 and use the Windows.UI.Xaml.Data.Bindable attribute on the runtimeclass that contains the property containing the listview items.

Both changes were required. Simply adding the attribute to the runtimeclass on SDK version 1.2 did not fix the issue.

pmintusEA/WinUI3CppListViewGroups@7743145

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@pmintusEA
Comment options

@GlenUnderwood
Comment options

Comment options

You must be logged in to vote
2 replies
@pmintusEA
Comment options

@naughtykid001
Comment options

Answer selected by pmintusEA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants