Skip to content

Only one of multiple TabControls interactable? #17954

Answered by stevemonaco
redruin1 asked this question in Q&A
Discussion options

You must be logged in to vote

The second TabControl is still on top and likely still receiving hit tests and handling pointer events. Likely Transparent backgrounds for the header and content pane. If this is the case, then the behavior is consistent with expectations.

I would try making the control not visible when there are no documents so hit testing isn't processed:

<TabControl IsVisible="{Binding !Documents.Count}" ItemsSource="{Binding Documents}">

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@redruin1
Comment options

Answer selected by redruin1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants