This repository was archived by the owner on May 1, 2024. It is now read-only.

Description
Description
<xct:TabView
BackgroundColor="White"
SelectedIndex="{Binding SelectedTabViewIndex}"
SelectionChanged="TabView_SelectionChanged">
I have a TabView with 2 TabViewItem. I set a SelectedTabViewIndex binding with SelectedIndex, and SelectionChanged event.
I see that TabView_SelectionChanged is called and NewValue and OldValue change, but SelectedTabViewIndex is always 1:
[0:] MainPage: TabView_SelectionChanged new: 1 - old: 0
[0:] MainPage: TabView_SelectionChanged: SelectedTabViewIndex: 1
[0:] MainPage: TabView_SelectionChanged new: 0 - old: 1
[0:] MainPage: TabView_SelectionChanged: SelectedTabViewIndex: 1
Steps to Reproduce
See the attached repo
Expected Behavior
SelectedIndex binding should change the binded value
Actual Behavior
Binded value does not change
Basic Information
- Version with issue: 1.1.0-preview1009
- Last known good version: unknown
- IDE: Visual Studio 2019 16.8.4
- Platform Target Frameworks:
- Android Support Library Version:
- Nuget Packages:
- Affected Devices:
Workaround
Reproduction imagery
Reproduction Link
TestFody.zip