Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 1, 2025

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!

Removes the IVisualTreeElementProvidable interface that was originally intended for platform tree navigation but never used in practice.

Changes

  • Deleted IVisualTreeElementProvidable.cs interface definition
  • Simplified GetVisualTreeElement() to return null (method was only used in tests)
  • Removed interface inheritance from platform views:
    • ContentViewGroup (Android)
    • LayoutViewGroup (Android)
    • MauiPanel (Windows)
    • MauiView (iOS)

Impact: 150 lines removed, no breaking changes (interface was internal)

Fixes #30295

Original prompt

start this PR over with a new PR #30296


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI self-assigned this Nov 1, 2025
Copilot AI changed the title [WIP] Restart pull request for discussion Remove IVisualTreeElementProvidable interface and related code Nov 1, 2025
Copilot AI requested a review from PureWeen November 1, 2025 22:27
Copilot finished work on behalf of PureWeen November 1, 2025 22:27
@PureWeen
Copy link
Member

PureWeen commented Nov 2, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove IVisualTreeElementProvidable

2 participants