Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
XamDataGrid Field tag Binding using MVVM
posted

Hi

I am trying to bind "tag" property of a field on xamdatagrid with a property in my view model but it is not being set. Below is the xaml code

<igDP:Field Name="ApprovedByUserId"

Label="{uibase:TextID _ApprovedField}" Tag="{Binding CurrentUserId}"

 

My view model property is as below:

 public string CurrentUserId        

{             get             {                 return _currentUserId;             }             set             {                 _currentUserId = value;                

RaisePropertyChanged("CurrentUserId");}         }

 

Please let me know where it is going wrong

 

thanks

Lakshmi