[NET 10/ WinUI] Open item template context#30852
Merged
PureWeen merged 2 commits intodotnet:net10.0from Aug 15, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR makes the ItemTemplateContext class public to enable developers to access data from CollectionViewHandler and work with Maui's ItemTemplate. The change exposes a previously internal class that holds information needed between the platform ListViewItem and CollectionView.
- Changes
ItemTemplateContextclass visibility from internal to public - Keeps the constructor internal to maintain controlled instantiation
- Updates public API surface to reflect the new public members
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| ItemTemplateContext.cs | Changes class visibility from internal to public while keeping constructor internal |
| PublicAPI.Unshipped.txt | Adds new public API surface entries for the exposed ItemTemplateContext class and its properties |
src/Controls/src/Core/Platform/Windows/CollectionView/ItemTemplateContext.cs
Show resolved
Hide resolved
Contributor
|
Hey there @@pictos! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
Contributor
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Member
|
unshipped apis need to be updated |
Member
|
/rebase |
# Conflicts: # src/Controls/src/Core/PublicAPI/net-windows/PublicAPI.Unshipped.txt
f94599b to
5704dc2
Compare
Member
|
/azp run |
PureWeen
previously approved these changes
Aug 13, 2025
|
Azure Pipelines successfully started running 3 pipeline(s). |
Member
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
PureWeen
approved these changes
Aug 15, 2025
Member
|
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
This class holds all information needed between the platform
ListViewItemandCollectionView(Maui). Opening this type will allow devs (app/libs) to easily access data fromCollectionViewHandlerand access, as well, the Maui'sItemTemplate.Description of Change
Issues Fixed
Related to #30762