Null Reference Exception

Posted by Ishan7 under WPF on 2/2/2021 | Points: 10 | Views : 232 | Status : [Member] | Replies : 0
Even if I set the gat, there is an error of null Reference exception

private PatientPlanDto selectedPatientPlan;

public PatientPlanDto SelectedPatientPlan
{
get => selectedPatientPlan;
set
{
selectedPatientPlan = value;
RaisePropertyChanged();

}
}


if (SelectedPatientPlan.RemainingVisits>0)


RemainingVisit has value but does not accept. Why?




Responses

(No response found.)

Login to post response