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

Make TabItems as content property of TabView #1845

Merged
merged 1 commit into from Jan 15, 2020

Conversation

ranjeshj
Copy link
Contributor

Make TabItems as content property of TabView. It matches the documentation we already have and how ItemsControl currently behaves.

fixes #1844

@ranjeshj ranjeshj requested review from stmoy and teaP January 15, 2020 00:59
@msft-github-bot msft-github-bot added the needs-triage Issue needs to be triaged by the area owners label Jan 15, 2020
@@ -46,6 +46,7 @@ runtimeclass TabViewTabDragCompletedEventArgs

[WUXC_VERSION_MUXONLY]
[webhosthidden]
[contentproperty("TabItems")]
Copy link
Contributor

Choose a reason for hiding this comment

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

it surprises me that this doesn't come with any generated files changes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe the way this works is that this attribute gets tacked onto the winmd metadata and the parser can then get this information from the metadata. @danzil might be able to elaborate more.

Copy link
Contributor

@StephenLPeters StephenLPeters left a comment

Choose a reason for hiding this comment

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

:shipit:

@ranjeshj ranjeshj merged commit da8e31a into master Jan 15, 2020
@ranjeshj ranjeshj deleted the usesr/ranjeshj/tabviewcontentattr branch January 15, 2020 18:08
@StephenLPeters StephenLPeters added area-TabView team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Jan 15, 2020
michael-hawker added a commit to michael-hawker/windows-uwp that referenced this pull request May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-TabView team-Controls Issue for the Controls team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TabViewItem can no longer be a child of TabView
4 participants