Breaking Change T1059018
Visible to All Users

DxTabs, DxFormLayoutTabPages – Active tab choice was introduced

What Changed

The DxTabs and DxFormLayoutTabPages components display tabs according to the ActiveTabIndex property value. If it is valid (that is, between zero and the number of tabs minus one), the corresponding tab is visible. If the ActiveTabIndex property value is invalid or corresponds to an invisible tab, no tab is selected.
From v21.2.5, the DxTabs and DxFormLayoutTabPages components also reflect tab removal and visibility changes.

Reasons for Change

Tab-based components are designed to always display content. In previous versions, when a tab is removed or hidden, its content can remain in markup:

dxtabs-before.gif

This change restores the correct behavior. The component now selects a neighboring tab when you hide or delete an active tab:

dxtabs-after.gif

Impact on Existing Apps

This change affects your application if you remove or hide tabs at runtime.

How to Upgrade Existing Apps

The DxTabs and DxFormLayoutTabPages components are updated automatically.

How to Revert to Previous Behavior

The previous behavior is unavailable from v21.2.5.

Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.