jamesmontemagno/MVVMSourceGenerators

ObservableProperter inside a complex object question

wa1gon opened this issue · 0 comments

wa1gon commented

In your view model is it possible to have an object to bind to?

For example you had first and last name in your view model. Could you do something like:

class Person
{
public string FirstName { get; set; } = string.Empty;
public string LastName { get; set; } = string.Empty;
}

If so how would you go about it?