Skip to content

TabControl嵌套使用时内部TabControl行为不正确 #1399

@DongLinZhu

Description

@DongLinZhu

Describe the bug

TabControl嵌套使用时,内部tab会随着外部tab的切换而切换

Steps to reproduce the bug

1、嵌套使用TabControl,且至少包含两个tabItem
2、使用样式Style="{StaticResource TabControlInLine}"
3、重复切换外部tab即可看到内部tab的异常行为

Expected behavior

切换外部tab时保留内部选择的tab

Screenshots

No response

NuGet package version

HandyControl 3.4.0

IDE

Visual Studio 2022

Framework type

.Net 6.0

Windows version

Windows 11 (22000)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions