TabControlArgs.Cancel = Boolean
The Cancel property determines whether tab opening is canceled.
If the property is set to True, tab opening is canceled. By default the property is set to False.
The example of property use is given in description of the TabControl.BeforeAddItem event.
See also: