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

Fix typo with backbutton visibility in NavigationView sample #284

Merged
merged 1 commit into from
Dec 6, 2019

Conversation

marcelwgn
Copy link
Collaborator

Description

Fixed typo "BackButtonVisibility" to "IsBackButtonVisible".

BTW: Why is "IsBackButtonVisible" a Visibility and not a boolean? Seems a bit counter intuitive to me. 😅

Motivation and Context

Fixes #283

How Has This Been Tested?

Tested manually by starting app and navigating to NavigationView page.

Screenshots (if appropriate):

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@stmoy
Copy link
Contributor

stmoy commented Dec 6, 2019

Why is "IsBackButtonVisible" a Visibility and not a boolean? Seems a bit counter intuitive to me.

Agreed. My guess is "history". @YuliKl @MikeHillberg - any ideas?

@stmoy stmoy merged commit f9ba3a6 into microsoft:master Dec 6, 2019
@YuliKl
Copy link

YuliKl commented Dec 6, 2019

Why is "IsBackButtonVisible" a Visibility and not a boolean? Seems a bit counter intuitive to me.

Agreed. My guess is "history". @YuliKl @MikeHillberg - any ideas?

Good guess :) I think we made a mistake in naming the property and didn't catch it until the API went public. Changing public APIs in the SDK isn't really a supported scenario. We have opportunity to fix this with WinUI 3 but need to wait to introduce this logical but breaking change.

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.

text wrong in the picture attached, it is exactly IsBackButtonVisible
3 participants