sbaeumlisberger / VirtualizingWrapPanel

Implementation of a comprehensive VirtualisingWrapPanel for WPF
MIT License
254 stars 35 forks source link

Is it possible to make a similar version for Avalonia UI? #27

Closed unofficialdev closed 2 years ago

unofficialdev commented 2 years ago

AvaloniaUi doesn't have this control yet. If you have some free time, maybe make an avaloniaUI powered version? thanks

sbaeumlisberger commented 2 years ago

Hi, Avalonia UI already has some very similar control. Have look at the ItemsRepeater control. You can use it either with the WrapLayout or the UniformGridLayout.

sonik-br commented 2 years ago

Came here to ask the same thing. ItemsRepeater and UniformGridLayout on Avalonia works just fine. But I can't get it to enable item selection as I do with VirtualizingWrapPanel. Any tip on this?

sbaeumlisberger commented 2 years ago

Yes that's something that is not supported by the ItemsRepeater. The way I see it, the selection could be build on top of the existing ItemsRepeater. You could also handle this in your application code and style the selected item containers. Unfortunately I do not have much free time. So I don't think I can provide such a solution in the near future. Maybe sometime next year.

sonik-br commented 2 years ago

Thank you. BTW the wpf one works like a charm :)

unofficialdev commented 2 years ago

@sonik-br here