Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
Calling controls during runtime on a Tabbed Layout
posted

Calling Controls Dynamically (at runtime)

I am looking for a way to avoid creating the controls one by one for a tabbed layout in the code behind.  I would like to just drag the controls to the tabbed layout and then call the all the controls at one time when I make a new tab during runtime.  Is there a way to do this?

Thank you!  

 

 

  • 71886
    Offline posted

    Hello,

    If I understood your requirements right, I think that you could use an UserControl for this scenario and put the desired controls in it so it could be dragged whenever you want with the contained controls.

    Please feel free to let me know if I misunderstood you or if you have any other questions.