Get list of all controls on a form including third party controls

  • Thread starter Thread starter tendaimare
  • Start date Start date
T

tendaimare

Guest
I was wondering how I can get a list of all controls on a form including third party controls speciffically from DevExpress. I tried this.Controls but it seems to leave some controls out. For example If I check to see if LblName is in the Controls it tells me False . LblName is a TextEdit control from DevExpress
if (Controls.Contains(LblName))
{
MessageBox.Show("True");
}
else
{
MessageBox.Show("False");
}


If you think it you can achieve it

Continue reading...
 
Back
Top