xamarin/Xamarin.Forms

Binding not working in titleview using xamarin.forms ios but works in android

オープン

#4,520 opened on 2018/11/23

 (5 件のコメント) (0 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
a/binding ⛓a/titleviewe/2 :clock2:good first issuehelp wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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>

コントリビューターガイド