Morten Nielsen
Morten Nielsen
> The main reason for this original design is that ObservableCollection doesn't have an AddRange method This isn't about ObservableCollection, but about INotifyCollectionChanged interface. Any collection can implement that interface...
Suggestion: We don't we log an issue for each control that have a problem with multi-item changes, and that way we can start chipping away at it and hopefully get...
IMHO this is an exception thrown by user-code/3rd party library. You can never ever guard completely against this, and I don't think you should. There would be a gazillion places...
x:Bind relies on code-generation and needs a backing file to generate in. I'm doing this extensively in one of our libraries. Example: https://github.com/Esri/arcgis-maps-sdk-dotnet-toolkit/tree/main/src/Toolkit/Toolkit.WinUI/UI/Controls/BookmarksView
@HO-COOH Why are you setting the datatype if you aren't going to be using x:bind? That sort of defeats the purpose. It exists for the purpose of x:bind.
@HO-COOH thats fine: they are all in the same resource dictionary class
x:class goes in the first xml tag (the `ResourceDictionary` one, not in the individual styles).
Yes except don't use the MyControl class - use a class for the resources in general. Here's what I do: ```xml ``` And then also add the partial C# file:...
@Sergio0694 it does make a little difference. Not a whole lot though. But for completeness sake, I updated the functional test app to show both ways
It's still pretty responsive with a sub-second launch time on my machine. Well before you start thinking "did I click it"?