0

古いプロジェクトを UWP に移行しています。また、対話動作に関する xaml コードに互換性の問題があります。現在、次のコードは機能しません

  <interactivity:Interaction.Behaviors>
     <!--//TODO - UWP Compatibility break--> 
    <behaviors:StatusBarBehavior
        BackgroundOpacity="1"
        BackgroundColor="{StaticResource XX.Color.WG}"
        ForegroundColor="{StaticResource XX.Color.TW}"
        IsProgressVisible="{Binding SyncStatusManager.DataTransferInProgress}"
        ProgressText="{Binding LocalizedResources.SyncInProgress, Source={StaticResource LocalizedStrings}}" />

</interactivity:Interaction.Behaviors>

エラー情報は次のとおりです:タイプ 'xxx.App.Behaviors.StatusBarBehavior' のインスタンスをタイプ 'Microsoft.Xaml.Interactivity.BehaviorCollection' のコレクションに追加できません。

4

0 に答える 0