Skip to content

fix: add missing partial keyword to UiaCycleContainer and UiaCycleChild - #23222

Merged
agneszitte merged 1 commit into
masterfrom
dev/agzi/fix-uia-partial-classes
May 6, 2026
Merged

agneszitte merged 1 commit into
masterfrom
dev/agzi/fix-uia-partial-classes

Conversation

@agneszitte

@agneszitte agneszitte commented May 6, 2026 •

Copy link
Copy Markdown
Member

Adds the missing partial modifier to UiaCycleContainer and UiaCycleChild class declarations in UiaChildCycle_DataGrid.xaml.cs.

Without partial, the XAML-generated partial class conflicts with the code-behind, causing CS0260 build errors on iOS Native and Android Native targets.

Related to previous changes from: #23198

Copilot AI review requested due to automatic review settings May 6, 2026 21:39
@github-actions github-actions Bot added the area/automation Categorizes an issue or PR as relevant to project automation label May 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes native iOS/Android build failures in the SamplesApp UIA repro page by aligning the code-behind control declarations with XAML code generation requirements (avoiding CS0260 partial-type conflicts).

Changes:

  • Add the partial modifier to UiaCycleContainer and UiaCycleChild in UiaChildCycle_DataGrid.xaml.cs to prevent clashes with XAML-generated partial declarations.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@unodevops

Copy link
Copy Markdown
Contributor

@agneszitte
agneszitte merged commit bc21c46 into master May 6, 2026
32 of 44 checks passed
@agneszitte
agneszitte deleted the dev/agzi/fix-uia-partial-classes branch May 6, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants