I am trying to use usercontrol inside the tabitem.
When i run the project I cannot access usercontrol. It displays error "Value cannot be null. No parameter element".
I have attached my XAML and ViewModel Code for your reference.
XAML Code:
==========
Header="Applicant Details">
View Model:
==========
WindowElement winElement = GetWindowElement.GetElement(Collection.FormApplicantDetails);
UserControl userControl = Getchild.GetField(Collection.ApplicantUserControl, Collection.ApplicantUserControlName) as
UserControl;
if (DataValidator.IsValid(userControl))
{
}
Please advise.
AyyappanPosted Nov 3, 2014, 12:36 PM
http://stackoverflow.com/questions/636383/how-can-i-find-wpf-controls-by-name-or-type