TcxCustomTabControlProperties.ScrollOpposite Property
Specifies whether tab rows can be scrolled to the opposite side of a tab control.
Declaration
property ScrollOpposite: Boolean read; write; default False;
Property Value
Type | Default |
---|---|
Boolean | False |
Remarks
Tabs can be arranged into a number of rows. When a tab is selected, its row becomes the bottommost row. The rows that resided under it (closer to the page) are either moved to the opposite side of a tab control or become the topmost row. This behavior depends on the ScrollOpposite property setting. If this property value is True, tabs rows are moved to the opposite side of a control. Otherwise tab rows simply change their order.
The following image displays initial tab layout before switching to the Alignment tab.
The images below display various results of selecting a tab depending on the ScrollOpposite property setting.
The ScrollOpposite property’s value is False | The ScrollOpposite property’s value is True |
---|---|
Note
The ScrollOpposite property is in effect only when tabs don’t appear as buttons. Otherwise, tabs are represented by buttons and thus there is no need to change their order in the tab row.
The default value of the ScrollOpposite property is False.