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 property use is given in description of the TabControl.BeforeAddItem event.
See also: