I need to validate that there is a information in an elementhost that I have put in a windows form application.
I can see what I want when I drill down inside the child and go to text but I can't point to it in this code. Here is the code I am using.
Any suggestions would be much appreciated!!
ElseIf control.GetType.ToString = "System.Windows.Forms.Integration.ElementHost" Then
Dim thisString As System.Windows.Forms.Integration.ElementHost = CType(control, Integration.ElementHost)
If thisString.Child Is "" Then
MessageBox.Show(thisString.Tag.ToString & " is a required field.", Title)