MultiRowFixedSelection Property
Description
The MultiRowFixedSelection property specifies whether the row of the currently selected tab will be moved to the front of the tab rows. This determines how remaining rows of tabs in front of a selected tab are repositioned.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property MultiRowFixedSelection() As Boolean
Remarks
When false, the rows of tabs in front of the selected tab are repositioned to the opposite side (behind) of the control. For example, if there are three rows in the multi-row tab control, and a tab in the second row is selected, all tab rows will be repositioned behind the second row.
When true, the rows in a multi-row tab control remain "fixed" when a tab is selected. The remaining rows of tabs in front of a selected tab will not be repositioned. For example, if there are three rows in the multi-row tab control, and a tab in the second row is selected, the tab rows will remain the same.
The pictures below illustrate how the tab control behaves when in multi-row mode.
- When MultiRowFixedSelection is true, the tabs are not repositioned when a tab is selected.
- When MultiRowFixedSelection is false, the tabs are repositioned behind the selected tab.
MultiRowFixedSelection is true.

MultiRowFixedSelection is false.

Example
[MultiRowFixedSelection sample. (Visual Basic)] This sample illustrates the use of the MultiRowFixedSelection tab layout. This functions like the TabOpposite style of the Microsoft TabControl.
CommandBars.TabWorkspace.PaintManager.Layout = xtpTabLayoutMultiRow
CommandBars.TabWorkspace.PaintManager.MultiRowFixedSelection = True
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.