Skip to main content

TabPlacement Enum

Definition​

Assembly:Avalonia.Controls
Package:Avalonia

Specifies the position of the tab strip within a Avalonia.Controls.TabbedPage layout.

public enum TabPlacement

Inheritance: Enum -> TabPlacement

Fields​

NameDescription
AutoAutomatically determines the tab placement based on the target platform. Resolves to Avalonia.Controls.TabPlacement.Bottom on iOS and Android, and Avalonia.Controls.TabPlacement.Top on all other platforms.
BottomDisplays tabs at the bottom of the content area.
LeftDisplays tabs along the left side of the content area.
RightDisplays tabs along the right side of the content area.
TopDisplays tabs at the top of the content area.

Auto Field​

Automatically determines the tab placement based on the target platform. Resolves to Avalonia.Controls.TabPlacement.Bottom on iOS and Android, and Avalonia.Controls.TabPlacement.Top on all other platforms.

public Avalonia.Controls.TabPlacement Auto

Bottom Field​

Displays tabs at the bottom of the content area.

public Avalonia.Controls.TabPlacement Bottom

Left Field​

Displays tabs along the left side of the content area.

public Avalonia.Controls.TabPlacement Left

Right Field​

Displays tabs along the right side of the content area.

public Avalonia.Controls.TabPlacement Right

Top Field​

Displays tabs at the top of the content area.

public Avalonia.Controls.TabPlacement Top