Behavior / Tab Shape
Tab Shape

Users can change the shape of the tabs in DockingTab control using the TabShape property to enhance the look of the application. It can be set at design-time through the Properties window, or programmatically in the code editor.

The following table shows the different types of shapes available for tabs in the DockingTab:

TabShape Snapshot
Rectangle (Tabs are rectangular in shape) Application Ui with tab shape as rectangular
Rounded (Tabs have rounded edges) Application Ui with tab shape as rounded
Sloping (Tabs are sloped on one side) Application Ui with tab shape as sloping

The code snippet below shows how to set the TabShape property to 'Rounded'.

C#
Copy Code
// Set the tab shape
dockingTab.TabShape = TabShape.Rounded;