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) | |
Rounded (Tabs have rounded edges) | |
Sloping (Tabs are sloped on one side) |
The code snippet below shows how to set the TabShape property to 'Rounded'.
C# |
Copy Code
|
---|---|
// Set the tab shape
dockingTab.TabShape = TabShape.Rounded;
|