Skip to content
Discussion options

You must be logged in to vote

Thanks @kucint this would actually be the result of a bug we recently discovered. The team is currently working to resolve it. The fix should be in the 5.2 release. Note that to properly fix this we will need to make a breaking change that is specific to the ItemsPanelTemplate. The updated code will look something like this:

new ItemsControl()
    .ItemsPanel<Canvas>(canvas => canvas
        .Width(250)
        .Height(250)
        .Background(Colors.Blue))

cc: @kazo0 @eriklimakc @vatsashah45

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kucint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants