Model:
public class UserInfo
{
public int ID { get; set; }
public string FullName { get; set; }
public string Birhtday { get; set; }
public string IdCard { get; set; }
public string Address { get; set; }
public string Roles { get; set; }
}
View:
Viewmodel:
private static UserInfo _info { get; set; }
public UserInfo Info
{
get { return _info; }
set
{
if (_info != value)
{
_info = value;
}
}
}
I can Bind Info to View.
When i Input Text at View, It not Binding to Viewmodel. However, if i don't use property inside UserInfo. I instance that property at Viewmodel , i can binding Twoway.
Have any way to handle this issue ???