Skip to content

Conversation

@vineethkuttan
Copy link
Contributor

@vineethkuttan vineethkuttan commented Feb 3, 2026

Description

#15611 This PR removed fragment based automation for content island that is connected using childsite.
This PR is exposes the automation option setter in builder.

Type of Change

Erase all that don't apply.

  • Bug fix (non-breaking change which fixes an issue)

Why

This will make sure that other content island which will connected in childsite can customize their automation option
image

What

  • Exposed the getter which set will set the childsite automation

Screenshots

xamlws.mp4

Testing

Tested in the SampleFabricApp

Changelog

Should this change be included in the release notes: yes

Expose AutomationOption Setter for ChildSite

Microsoft Reviewers: Open in CodeFlow

@vineethkuttan vineethkuttan marked this pull request as ready for review February 3, 2026 16:00
@vineethkuttan vineethkuttan requested a review from a team as a code owner February 3, 2026 16:00
@vineethkuttan vineethkuttan force-pushed the xamlcomp branch 2 times, most recently from 2fa1a9f to 3541a3a Compare February 3, 2026 16:08
@acoates-ms
Copy link
Contributor

We shouldn't be adding Xaml specific code like this.
The xaml case indicates that different controls may require FragmentBased or FrameworkBased automation options. I imagine a custom WPF control, if WPF adds support for ContentIslands would also want framework based. One option would be to add a property to the build to specify which you want. Alternatively, we could expose a getter for the ChildContentLink, so that the custom control can customize it as desired.

@vineethkuttan vineethkuttan self-assigned this Feb 4, 2026
@vineethkuttan vineethkuttan requested a review from a team as a code owner February 4, 2026 08:29
@vineethkuttan vineethkuttan changed the title Enable Fragment‑Based Automation for ChildSite Without XAML Islands Expose AutomationOption for ChildSite Feb 4, 2026
@vineethkuttan vineethkuttan changed the title Expose AutomationOption for ChildSite Expose AutomationOption Setter for ChildSite Feb 4, 2026
@vineethkuttan
Copy link
Contributor Author

We shouldn't be adding Xaml specific code like this. The xaml case indicates that different controls may require FragmentBased or FrameworkBased automation options. I imagine a custom WPF control, if WPF adds support for ContentIslands would also want framework based. One option would be to add a property to the build to specify which you want. Alternatively, we could expose a getter for the ChildContentLink, so that the custom control can customize it as desired.

@acoates-ms exposed the setter for ChildSite Automation

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.

2 participants