xamarin/Xamarin.Forms

[UWP] GroupHeaderBinding displays ShortName instead of Display name

开放

#4,306 创建于 2018年11月5日

 (0 条评论) (1 个反应) (0 位负责人)C# (1,926 个派生)batch import
e/4 :clock4:help wantedinactivep/UWPt/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Description

When a ListView is used with grouping as described in this article, UWP renders the GroupShortName as the group header instead of the GroupDisplay. This behavior has also been documented in this Xamarin forum discussion. On Android, the expected GroupDisplay is rendered.

Steps to Reproduce

  1. Create a ListView with Grouping Enabled (e.g. like in the official guide).
  2. Add a and a ShortName for each group.
  3. Bind the Title to GroupDisplayBinding and the ShortName to GroupShortNameBinding

Expected Behavior

The Title is displayed as the group header.

Actual Behavior

The ShortName is displayed as the group title.

Basic Information

  • Version with issue:
  • Last known good version: No known good version
  • IDE: Visual Studio 2017 Enterprise
  • Platform Target Frameworks: UWP
    • Android: 8.1 (for reference)
    • UWP: 16299
  • Android Support Library Version: 27.0.2.1
  • Nuget Packages: Xamarin.Forms 3.3.0.967583
  • Affected Devices: Windows 10, version 1803

Screenshots

See Xamarin forum discussion

Reproduction Link

If a minimal solution for reproduction is needed, please request.

贡献者指南