MultiRowJustified Property
Description
The MultiRowJustified property specifies the justification width of the tab (TabControlItem objects) in the TabWorkspace.
Property Type
- Read-write property
Syntax (Visual Basic)
Public Property MultiRowJustified() As Boolean
Remarks
If MultiRowJustified is true, the tab rows will be justified. If the tab layout is set to xtpTabLayoutMultiRow, each tab is wide enough to accommodate its contents. If needed, the width of each tab is increased so that each row of tabs spans the width of the control. This will stretch each row of tabs to fill the entire width of the control. If the tab layout is not set to xtpTabLayoutMultiRow, or if there is only a single row of tabs, this setting has no effect.
If MultiRowJustified is false, the tab rows will be non-justified. Each tab is just wide enough to accommodate its contents. The rows are not justified, so multiple rows of tabs are jagged.
MultiRowJustified is false

MultiRowJustified is true

Example
MultiRowJustified Sample (Visual Basic)
This sample illustrates how to change the justification width of the tabs in the TabWorkspace.
CommandBars.TabWorkspace.PaintManager.Layout = xtpTabLayoutMultiRow
CommandBars.TabWorkspace.PaintManager.MultiRowJustified = True
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.