I am trying to bind a property from a navigation property on my data grid. I have a customer class where one of the properties is CustomerBalance...
public ICollection<CustomerBalance> CustomerBalance { get; set; }
One of the properties in the customer balance class is CurrentBalance...
public decimal CurrentBalance
{
get => GetPropertyValue<decimal>();
set => SetPropertyValue(value);
}
I have tried the following, which doesn't work...
<GridColumn Field=@nameof(CustomerBalance.CurrentBalance) HeaderText="Balance"></GridColumn>
Please advise.