Skip to content

Refactor AddChildResolver for SplitView #976

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

Merged
merged 1 commit into from
Jun 18, 2025
Merged

Refactor AddChildResolver for SplitView #976

merged 1 commit into from
Jun 18, 2025

Conversation

vb2ae
Copy link
Member

@vb2ae vb2ae commented Jun 18, 2025

Removed unnecessary type casts for e.Pane and e.Content in the AddChildResolver method, simplifying the code and improving type safety.

Removed unnecessary type casts for e.Pane and e.Content
in the AddChildResolver<SplitView> method, simplifying
the code and improving type safety.
@vb2ae vb2ae requested a review from Copilot June 18, 2025 14:14
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Simplify the AddChildResolver registration for SplitView on UWP and WinUI3 by removing redundant casts and improving type safety.

  • Removed unnecessary as DependencyObject casts for e.Pane and e.Content
  • Aligns UWP/WinUI3 branch with other platform branches

@vb2ae vb2ae merged commit fba52a5 into master Jun 18, 2025
4 checks passed
@vb2ae vb2ae deleted the alert-fix-99 branch June 18, 2025 22:28
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.

1 participant