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 TreeViewNode content display #1357

Merged
merged 2 commits into from
Sep 24, 2019
Merged

Conversation

kaiguo
Copy link
Contributor

@kaiguo kaiguo commented Sep 19, 2019

We made TreeViewNode stringable in order to show string content correctly. TreeViewNode checks for ICustomPropertyProvider and IStringable interfaces to convert Content to String. This works in C# app, but in C++, string content is passed in as hstring (neither ICustomPropertyProvider nor IStringable), added "unbox_value" to correctly handle that. Also added a test in NugetPackageTestAppCX.

@kaiguo kaiguo requested a review from a team as a code owner September 19, 2019 18:20
@jevansaks jevansaks added the release note PR that we want to call out in the next release summary label Sep 24, 2019
@kaiguo kaiguo merged commit 75ea41e into master Sep 24, 2019
@kaiguo kaiguo deleted the user/kaiguo/treeviewnode-tostring-fix branch September 24, 2019 18:03
@msft-github-bot
Copy link
Collaborator

🎉Microsoft.UI.Xaml v2.3.191007001-prerelease has been released which incorporates this pull request.:tada:

Handy links:

@msft-github-bot
Copy link
Collaborator

🎉Microsoft.UI.Xaml v2.3.191129002 has been released which incorporates this pull request.:tada:

Handy links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-TreeView release note PR that we want to call out in the next release summary
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants