Dyda
Dyda
CC#
Created by Dyda on 2/21/2025 in #help
✅ Change dataGridRow:selected row
Ok, it’s working. Thank you
8 replies
CC#
Created by Dyda on 2/20/2025 in #help
✅ Problem with binding (#AvaloniaUI)
Yeah, you're right. I changed command to {Binding #Grid.((vm:OrderListViewModel)DataContext).ChangeStatusCommand} and now its working. Thank you
32 replies
CC#
Created by Dyda on 2/20/2025 in #help
✅ Problem with binding (#AvaloniaUI)
I changed dataGrid name to "Grid" and changed command to: Command="{Binding #Grid.((OrderListViewModel)DataContext).ChangeStatusCommand}". Now error look like this: Unable to resolve type OrderListViewModel from namespace https://github.com/avaloniaui Line 31, position 51.
32 replies
CC#
Created by Dyda on 2/20/2025 in #help
✅ Problem with binding (#AvaloniaUI)
So you are thinking about: Command="{ Binding DataContext.ChangeStatusCommand, ElementName="Grid" }". If I'm understanding good it doesn't work too, I tried it.
32 replies
CC#
Created by Dyda on 2/20/2025 in #help
✅ Problem with binding (#AvaloniaUI)
i tried it datacontext.foo but it doesn't work too
32 replies