xamarin/Xamarin.Forms
Binding not working in titleview using xamarin.forms ios but works in android
Ouverte
#4 520 ouverte le 23 nov. 2018
a/binding ⛓a/titleviewe/2 :clock2:good first issuehelp wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs
Métriques du dépôt
- Stars
- (5 644 étoiles)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
I am using xamarin.forms (3.3.0.967583) version for developing application. In xamarin.forms iOS application I am unable to bind property from MVVM to xaml in titleview. But its working in Android application. I am not going to attach my code. I also see other related issues but not helping. See below sample code.
<NavigationPage.TitleView>
<StackLayout HorizontalOptions="Start"
VerticalOptions="Center"
Margin="0"
Padding="{OnPlatform iOS='25,0,0,0', Android=0}">
<Label
Text="{Binding SelectedProduct.Title,
Mode=TwoWay}"
TextColor="White"
FontSize="{StaticResource LargeFontSize}"
FontFamily="{StaticResource OpenSansRegular}"
VerticalTextAlignment="Center" />
</StackLayout>
</NavigationPage.TitleView>