Skip to content

Position Property

Description

Gets/Sets the position of the tabs. The position refers to where the tabs are located. The tabs can be positioned on the top, bottom, left, or right side.

Property Type

Read-write property.

Syntax (Visual Basic)

Public Property Position() As [XTPTabPosition](XtremeCommandBars~Enumerations~XTPTabPosition_EN.md)

Example

The following sample code illustrates how to position the TabControl tabs:

' This sample code illustrates how to position the TabControl tabs on the Left side of the client area.
TabControl.PaintManager.Position = xtpTabPositionLeft

' This sample code illustrates how to position the TabControl tabs on the Bottom of the client area.
TabControl.PaintManager.Position = xtpTabPositionBottom

' This sample code illustrates how to position the TabControl tabs on the Right side of the client area.
TabControl.PaintManager.Position = xtpTabPositionRight

' This sample code illustrates how to position the TabControl tabs on the Top of the client area.
TabControl.PaintManager.Position = xtpTabPositionTop

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.