TabControlArgs.Cancel

Syntax

TabControlArgs.Cancel = Boolean

Description

The Cancel property determines whether tab opening is canceled.

Comments

If the property is set to True, tab opening is canceled. By default the property is set to False.

Example

The example of property use is given in description of the TabControl.BeforeAddItem event.

See also:

TabControlArgs