Cancel: Boolean;
The Cancel property indicates whether expander can be toggled.
If the property is set to True, toggling expander is not allowed, if it is False - it is allowed.
See also:
ITabBeforeExpanderChangedEventArgs