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

Fix poor choice for FlyoutItem BP Name #13152

Merged
merged 5 commits into from
Dec 18, 2020
Merged

Fix poor choice for FlyoutItem BP Name #13152

merged 5 commits into from
Dec 18, 2020

Conversation

PureWeen
Copy link
Contributor

@PureWeen PureWeen commented Dec 15, 2020

Description of Change

The idea here was to have an attached property called FlyoutItem.IsVisible that users could use to indicate when they wanted to hide just the FlyoutItem. This works great in code but in XAML when binding to "IsVisible" on a FlyoutItem that will now gets routed to the Attached property that's shadowing the non attached property.

API Changes

Added:

  • Shell.FlyoutItemIsVisible //Attached BP
  • BaseShellItem.FlyoutItemIsVisible //Attached BP that allows for easy access to this property on each BaseShellItem

Removed:

  • FlyoutItem.IsVisible //Attached BP

Platforms Affected

  • Core/XAML (all platforms)

Behavioral/Visual Changes

  • Removed the attached property FlyoutItem.IsVisible. Users wanting to just hide something in the Flyout will need to use Shell.FlyoutItemIsVisible.

None

Testing Procedure

  • unit tests modified
  • UI Test Included

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@PureWeen PureWeen added DO-NOT-MERGE-!!! 🛑 This is in progress and needs to be updated before it can be merged. breaking Changes behavior or appearance labels Dec 15, 2020
@PureWeen PureWeen removed the DO-NOT-MERGE-!!! 🛑 This is in progress and needs to be updated before it can be merged. label Dec 16, 2020
@PureWeen PureWeen added the blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. label Dec 16, 2020
@PureWeen PureWeen added this to To do in vNext+1 (5.0.0) via automation Dec 16, 2020
@PureWeen PureWeen added this to the 5.0.0 milestone Dec 16, 2020
@rmarinho rmarinho moved this from To do to In Review in vNext+1 (5.0.0) Dec 17, 2020
Copy link
Member

@rmarinho rmarinho left a comment

Choose a reason for hiding this comment

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

Related tests were passing

@rmarinho rmarinho merged commit a22317a into 5.0.0 Dec 18, 2020
vNext+1 (5.0.0) automation moved this from In Review to Done Dec 18, 2020
@rmarinho rmarinho deleted the flyout_api_fixes branch December 18, 2020 12:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/shell 🐚 blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. breaking Changes behavior or appearance
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants