How to Bind AsyncCommand to DataGrid Template Column with HyperlinkButton using MVVM #9759
Unanswered
SrinivasPam
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
Thanks for the report! To direct you to the proper location, we need to know if the behavior you're observing is also present on UWP or WinAppSDK. Is that the case? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We are developing Desktop application using UnoPlatform in which we are using DataGrid from CommunityToolkit.WinUI.UI.Controls for displaying some data.
So, my requirement is to have HyperlinkButton for one of the DataGrid Column and am using DataTemplate as shown in below code to achieve the functionality.
Issue here is that how to Bind a Command which is there in ViewModel to HyperlinkButton click/Command event?
DataGrid ItemSource is Bind to GridData observable collection from ViewModel.
I am trying to Bind ChildItemInvokedCommand which is there in My StorageAccountViewModel to HyperlinkButton Command however this is not working.
What am i missing here? Any help would be appreciated.
ViewModel :
ChildFolder.cs
Page.xamal:
Beta Was this translation helpful? Give feedback.
All reactions