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

Update OnApplyTemplate() in BasemapGallery.Appearance.cs #486

Closed
wants to merge 2 commits into from

Conversation

soba-noodle
Copy link

Under NetFramework 472, BasemapGallery does not work when started as Collapsed. This update will allow BasemapGallery starts as Collapsed and when Visibility changed to Visible basemap items will be shown.

With this modification, you can start BasemapGallery Collapsed and later change it to Visible work under .NetFramework 472.   This change won't break .NET 6 side.   Currently if you start BasemapGallery collapsed, you can never see loaded basemap list due to the fact that _loadingScrim never goes away under .Netframework 472.
Update BasemapGallery.Appearance.cs OnApplyTemplate()
@dotMorten dotMorten self-requested a review January 20, 2023 17:03
@dotMorten dotMorten self-assigned this Jan 20, 2023
@dotMorten
Copy link
Member

Thank you for this. Are you not seeing this happen on .NET 6? If so I think this behavior might actually be due to a .NET Framework bug we just had to add a workaround for, and not a toolkit issue.

@soba-noodle
Copy link
Author

soba-noodle commented Feb 3, 2023 via email

@dotMorten
Copy link
Member

@soba-noodle Thanks for confirming. This is actually caused by a .NET Framework bug, that we have worked around in 200.1, so other tools (like this one) won't need to work around it.

@soba-noodle
Copy link
Author

soba-noodle commented Feb 7, 2023 via email

@dotMorten dotMorten closed this Oct 6, 2023
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

2 participants