thevortexcloud

Results 45 comments of thevortexcloud

>a Custom view locator that resolve MyUserControl via my DI container. This way, I can inject things to MyUserControl, and it doesn't need a default constructor anymore. I would suggest...

> Do you means that after rendering , there is situation that Avalonia might destroy MyUserControl then ignore my ViewLocator and re-create it with the default constructor? It wont ignore...

> About the previewer, my current work around is to add some boilerplate codes to keep it working and I'm happy with it. There is a nicer way using a...

> I.e. We need a syntax that can query another control's properties in the tree. I could be wrong/misunderstanding you, but is that not what this is? https://docs.avaloniaui.net/docs/reference/styles/style-selector-syntax#by-property-match

> Well, that is a bit different because it's only checking for property matches on the control itself -- NOT another control in the tree. nth-child does actually get information...

> t's hard to read. People will start putting complex expressions in here that will make your eyes bleed CSS has been slowly moving in that direction. It went from...

See also https://github.com/AvaloniaUI/Avalonia/issues/16962 > using grid and manually specifying everything There was the old auto grid control which is probably close to what you want. But it has not been...

I don't know what you mean by box container, but as far as I am aware a stack panel has infinite space in a single direction. You can see that...

I personally think it needs a better name than `IsEnabledOnDesktop`. Since that implies it wont work at all on a desktop. Which from my understanding is not true, it just...

For additional context, this is a follow up to this discussion: https://github.com/AvaloniaUI/Avalonia/discussions/13726