From d363e19d50f457fe8d97e607d61b064de6d3bb71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Sua=CC=81rez=20Ruiz?= Date: Sun, 14 Feb 2021 14:03:09 +0100 Subject: [PATCH] Changed TabView SelectedIndex property to use TwoWay binding mode --- .../Xamarin.CommunityToolkit/Views/TabView/TabView.shared.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CommunityToolkit/Xamarin.CommunityToolkit/Views/TabView/TabView.shared.cs b/src/CommunityToolkit/Xamarin.CommunityToolkit/Views/TabView/TabView.shared.cs index c06043930..67c6b4bdf 100644 --- a/src/CommunityToolkit/Xamarin.CommunityToolkit/Views/TabView/TabView.shared.cs +++ b/src/CommunityToolkit/Xamarin.CommunityToolkit/Views/TabView/TabView.shared.cs @@ -207,7 +207,7 @@ public DataTemplate TabContentDataTemplate } public static readonly BindableProperty SelectedIndexProperty = - BindableProperty.Create(nameof(SelectedIndex), typeof(int), typeof(TabView), -1, + BindableProperty.Create(nameof(SelectedIndex), typeof(int), typeof(TabView), -1, BindingMode.TwoWay, propertyChanged: OnSelectedIndexChanged); public int SelectedIndex