Sep 17, 2009 at 7:25 AM
Edited Sep 17, 2009 at 8:03 AM
i have an main window with more than one tab pages,
also each tabpage has user control ( window form with some text boxes, buttons some ctrls).
Here i can get the tabpage sucessfully, but i cant get the user control inside the tabpage also the buttons and textboxes inside that user control.
i successfilly get the tab control using the following code
Core.UIItems.TabItems.Tab tabControl = MainWindow.Get<Tab>(controlName);
i cant get the tab page by the following code
var tab = MainWindow.Get<TabPage>(ControlName);
but i can't get the user control(form) inside the tabpage, here i have tried to get the user control (item) by the following code, is
var button = MainWindow.Get<Tab>("Text box name from user control")
Here always i get the null value...
please assist me to get the required control from user control.