Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GridView.Header in the ShyHeader sample to prevent breaking UI virtualization #284

Merged
merged 1 commit into from May 17, 2018

Conversation

japf
Copy link
Contributor

@japf japf commented May 1, 2018

This is a PR to improve the ShyHeader sample by using the Header property of the GridView control so that UI virtualization is still working.

The approach used at the moment in the sample is breaking UI virtulization due to the scrollviewer being outside of the GridView.

I think we could also improve the documentation to mention that the exact same technique can be used with a ListView.

@likuba likuba self-assigned this May 1, 2018
Copy link
Contributor

@likuba likuba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great--thanks for contributing!

@daneuber daneuber merged commit 79c6f4e into microsoft:master May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants