Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[WPF] ListView.Header not being rendered #3770

Closed
kfreezen opened this issue Sep 12, 2018 · 1 comment · Fixed by #8443
Closed

[WPF] ListView.Header not being rendered #3770

kfreezen opened this issue Sep 12, 2018 · 1 comment · Fixed by #8443
Labels
help wanted We welcome community contributions to any issue, but these might be a good place to start! in-progress This issue has an associated pull request that may resolve it! inactive Issue is older than 6 months and needs to be retested p/WPF up-for-grabs We welcome community contributions to any issue, but these might be a good place to start!

Comments

@kfreezen
Copy link

Description

ListView.Header does not render with Xamarin.Forms.Platform.WPF.

Steps to Reproduce

  1. Download attached reproduction project
  2. Build and run ListViewBug.WPF (can compare with ListViewBug.UWP to see difference)

Expected Behavior

ListView header should show two columns named "Column1" and "Column2". Nothing shows up.

Actual Behavior

ListView header does not show at all on WPF project.

Basic Information

  • Version with issue: 3.2.0.809874-pre (and 3.1.0.697729)
  • Last known good version: N/A
  • IDE: VS2017 Community
  • Platform Target Frameworks:
    • UWP: 16299
    • WPF
  • Affected Devices: Windows Classic Desktop

Screenshots

WPF:
image

UWP:
image

Reproduction Link

ListViewBug.zip

@PureWeen PureWeen added the p/WPF label Sep 12, 2018
@samhouts samhouts added inactive Issue is older than 6 months and needs to be retested help wanted We welcome community contributions to any issue, but these might be a good place to start! up-for-grabs We welcome community contributions to any issue, but these might be a good place to start! labels Jul 4, 2019
@alex-relov
Copy link

image
image
4.1.0.555618
similar problem, there is a header in uwp, but it is missing in wpf. XF 4.1.0.555618

@samhouts samhouts added the in-progress This issue has an associated pull request that may resolve it! label Nov 27, 2019
samhouts pushed a commit that referenced this issue Jan 16, 2020
Resolves bugs #3947 and #3770.

Wrapped the ListView in a Grid that allows for the insert/delete of headers and footers.

Unit tests ran and passed.

fixes #3947
fixes #3770
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted We welcome community contributions to any issue, but these might be a good place to start! in-progress This issue has an associated pull request that may resolve it! inactive Issue is older than 6 months and needs to be retested p/WPF up-for-grabs We welcome community contributions to any issue, but these might be a good place to start!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants