xamarin/Xamarin.Forms

[Bug] [UWP] Template Disappears when Command Parameter Binding Set

オープン

#8,918 opened on 2019/12/16

 (10 件のコメント) (1 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
4.4.0a/listviewe/5 :clock5:help wantedi/regressioninactivep/UWPt/bug :bug:up-for-grabs

Repository metrics

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

説明

Description

I have a Listview with simple DataTemplate selector which presents one of either two templates. Once the CommandParameter Binding is defined to the current object ({Binding} or {Binding .}), the entire view for that template goes blank on UWP. Therefore, I'm not allowed to call the command with the current object. This works as expected when deploying out to iOS.

Steps to Reproduce

Sample project here https://github.com/djrpascu/XFGithub

Expected Behavior

Listview template displays contents properly and I'm able to pass the object into my command via CommandParameter.

Actual Behavior

Listview template goes blank.

Basic Information

  • Version with issue: 4.4.0.991265

  • Last known good version: N/A

  • IDE: VS Enterprise 2019 16.4.1

  • Platform Target Frameworks:

    • iOS: 13
    • Android: N/A
    • UWP: 16299
  • Android Support Library Version: N/A

  • Nuget Packages: XF 4.4.0.991265 Prims.Unity.Forms 7.2.0.1422 NETStandard.Library 2.0.3

  • Affected Devices: Windows 10 Desktop

Screenshots

Reproduction Link

https://github.com/djrpascu/XFGithub

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