Creating TabPanels In Code
In some cases, you may want to add tabs to a TabPanel control programmatically rather than using HTML markup.
You can do this using the tabs property, which provides access to the collection of tabs in the TabPanel.
You can also use the tabs property to remove, modify, or reorder the tabs within the TabPanel.