xamarin/Xamarin.Forms

[UWP] GroupHeaderBinding displays ShortName instead of Display name

Aberta

#4.306 aberto em 5 de nov. de 2018

 (0 comentário) (1 reação) (0 responsável)C# (1.926 forks)batch import
e/4 :clock4:help wantedinactivep/UWPt/bug :bug:up-for-grabs

Métricas do repositório

Stars
 (5.644 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador