xamarin/Xamarin.Forms

[UWP] GroupHeaderBinding displays ShortName instead of Display name

Ouverte

#4 306 ouverte le 5 nov. 2018

 (0 commentaire) (1 réaction) (0 personne assignée)C# (1 926 forks)batch import
e/4 :clock4:help wantedinactivep/UWPt/bug :bug:up-for-grabs

Métriques du dépôt

Stars
 (5 644 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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.

Guide contributeur