Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TabView is broken when created in code behind since 6.3.28Β #21617

@Jungbluth11

Description

@Jungbluth11

Current behavior πŸ›

When a TabView is created in code behind an tabs add by TabView.TabItems.Add tab headers are missing and the content of every tab is shown at the same time.

Expected behavior 🎯

TabView should shown with headers and only one tab a a time.

How to reproduce it (as minimally and precisely as possible) πŸ”¬

create a TabView in code behind and add tabs via TabView.TabItems.Add

Workaround πŸ› οΈ

No response

Renderer 🎨

  • Skia
  • Native

Affected platforms πŸ“±πŸ’»πŸ–₯️

All platforms 🌍

Uno.Sdk version (and other relevant versions) πŸ“¦

6.3.28

IDE version πŸ§‘β€πŸ’»

Visual Studio 2022 17.14.17

Anything else we need to know? πŸ’¬

no issues when created in XAML

Metadata

Metadata

Labels

project/items 🧾Categorizes an issue or PR as relevant to items (ItemsControl, ItemsRepeater, ...)project/navigation-lifecycle 🧬Categorizes an issue or PR as relevant to the navigation and lifecycle (NavigationView, AppBar, ...)

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions