-
Notifications
You must be signed in to change notification settings - Fork 711
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hide NavigationViewItem Chevron if Children is empty (#2759)
* Hide NavigationViewItem Chevron if Children is empty Attach a CollectionChanged to ItemsRepeater ItemsViewSource whenever the MenuItems or MenuItemsSource changes. Add check to MenuItemsSource count when checking for children. Fixes #2743 * removed unused args * add VerifyExpandCollapseChevronVisibility API test * revoke m_itemsSourceViewCollectionChangedRevoker inside UnhookEventsAndClearFields * use VisualTreeUtils.FindVisualChildByName and removed own implementation * add additional test for the MenuItems API * add visibility check before setting MenuItemsSource as null
- Loading branch information
1 parent
2e05d37
commit 08723fb
Showing
3 changed files
with
73 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters