Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to: Add or Close Tabs Using Special Buttons in DXTabControl

$
0
0

DXTabControl provides built-in functionality for hiding and adding tabs. This example demonstrates how to add or delete when they are generated from a collection. 

 

To show corresponding buttons, use the HideButtonShowMode and NewButtonShowMode properties. To remove an item from the source collection when a tab is closed, use the CloseCommand. To create a new tab when the add button is clicked, use NewTabCommand. These commands are automatically executed by TabControl when corresponding actions are performed. 

Please refer to the following article for more details: Adding and Removing Tab Items.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>