Training
Module
Create multi-page .NET MAUI apps with tab and flyout navigation - Training
Use .NET Multi-platform App UI (MAUI) shell to create multi-page applications with tabs and flyout navigation.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
You can change the appearance of tabs in Windows Forms by using properties of the TabControl and the TabPage objects that make up the individual tabs on the control. By setting these properties, you can display images on tabs, display tabs vertically instead of horizontally, display multiple rows of tabs, and enable or disable tabs programmatically.
Add an ImageList control to the form.
Add images to the image list.
For more information about image lists, see ImageList Component and How to: Add or Remove Images with the Windows Forms ImageList Component.
Set the ImageList property of the TabControl to the ImageList control.
Set the ImageIndex property of the TabPage to the index of an appropriate image in the list.
Add the number of tab pages you want.
Set the Multiline property of the TabControl to true
.
If the tabs do not already appear in multiple rows, set the Width property of the TabControl to be narrower than all the tabs.
Set the Enabled property of the TabPage to true
or false
.
TabPage1.Enabled = False
tabPage1.Enabled = false;
tabPage1->Enabled = false;
.NET Desktop feedback feedback
.NET Desktop feedback is an open source project. Select a link to provide feedback:
Training
Module
Create multi-page .NET MAUI apps with tab and flyout navigation - Training
Use .NET Multi-platform App UI (MAUI) shell to create multi-page applications with tabs and flyout navigation.