edgarka_
edgarka_
CC#
Created by edgarka_ on 7/21/2024 in #help
Avalonia ListBox pass selected DataTemplate
It wasn't working at first as my EventName was "SelectionChanged". Changing it to "Tapped" removes errors, but it seems like "Tapped" is for touch screens. Do you know where can I find EventNames as VS doesn't list them for me?
17 replies
CC#
Created by edgarka_ on 7/21/2024 in #help
Avalonia ListBox pass selected DataTemplate
Okay, I managed to get somewhere with your example. Command and SourceObject was something new to me
17 replies
CC#
Created by edgarka_ on 7/21/2024 in #help
Avalonia ListBox pass selected DataTemplate
No description
17 replies
CC#
Created by edgarka_ on 7/21/2024 in #help
Avalonia ListBox pass selected DataTemplate
I don't think it helps, I suspect I need to add CommandParameter into InvokeCommandAction, but not sure what to pass there
17 replies
CC#
Created by edgarka_ on 7/21/2024 in #help
Avalonia ListBox pass selected DataTemplate
Got it, thanks!
17 replies
CC#
Created by edgarka_ on 7/21/2024 in #help
Avalonia ListBox pass selected DataTemplate
17 replies
CC#
Created by edgarka_ on 3/9/2023 in #help
✅ BackgroundWorker in WPF MVVM
I am also working with older version of .NET (where my main project is) so it might be as good to use BackgroundWorker. At the same time I'll be looking into Threads and Tasks
17 replies
CC#
Created by edgarka_ on 3/9/2023 in #help
✅ BackgroundWorker in WPF MVVM
This is exactly what I needed! Thanks a lot! Didn't think it'd work on Thread.Sleep
17 replies
CC#
Created by edgarka_ on 3/9/2023 in #help
✅ BackgroundWorker in WPF MVVM
Thank you for your help @hengi! Issue is, it still makes UI change after "PerformTask" is executed. Is there a way to update UI between fist two "for loops" (for example move progress bar to 10) or it would require separating UI and command with thread?
17 replies
CC#
Created by edgarka_ on 11/23/2022 in #help
❔ ❔ Bind selected items
Thank you @dancepanda42 🙂
28 replies
CC#
Created by edgarka_ on 11/23/2022 in #help
❔ ❔ Bind selected items
I'll try to play around for a bit, bind to models, would it be okay if I'll keep question open for some time and ask you if I'm stuck?
28 replies
CC#
Created by edgarka_ on 11/23/2022 in #help
❔ ❔ Bind selected items
Binding now works, thank you!
28 replies
CC#
Created by edgarka_ on 11/23/2022 in #help
❔ ❔ Bind selected items
ObservableObject is part of some external package?
28 replies
CC#
Created by edgarka_ on 11/23/2022 in #help
❔ ❔ Bind selected items
I'll give it a go
28 replies
CC#
Created by edgarka_ on 11/23/2022 in #help
❔ ❔ Bind selected items
Is it possible to send it as list, considering I have a multiple selection?
28 replies
CC#
Created by edgarka_ on 11/23/2022 in #help
❔ ❔ Bind selected items
Thank you @dancepanda42, I've added property and it grabs string properly
28 replies