Skip to content

Conversation

@kubaflo
Copy link
Contributor

@kubaflo kubaflo commented Mar 17, 2025

Description of Change

I've added an overload to PropagatePropertyChanged to avoid potential breaks for callers such as the MCT and to maintain backward compatibility, since the original method was internal.

Issues Fixed

Fixes #28450

@kubaflo kubaflo requested a review from a team as a code owner March 17, 2025 19:00
@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Mar 17, 2025
@dotnet-policy-service
Copy link
Contributor

Hey there @kubaflo! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@jsuarezruiz
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

jsuarezruiz
jsuarezruiz previously approved these changes Mar 18, 2025
PropagatePropertyChanged(propertyName, element, children.OfType<IVisualTreeElement>().ToList());
}

internal static void PropagatePropertyChanged(string propertyName, Element element, IReadOnlyList<IVisualTreeElement> children)
Copy link
Member

Choose a reason for hiding this comment

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

Can we remove internal from this one?

Copy link
Contributor

@pictos pictos Mar 18, 2025

Choose a reason for hiding this comment

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

removing the internal would force this to be merged on .net 10, no?

Copy link
Member

Choose a reason for hiding this comment

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

yeah, this will have to go into net10.

But, is there a reason for this to be IReadOnlyList instead of IEnumerable <IVisualTreeElement>? The result is the same as we are just calling ToArray

Copy link
Member

Choose a reason for hiding this comment

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

I see all the other overloads take Element, so why does this need to be IVisualTreeElement?

@PureWeen PureWeen added this to the .NET 9 SR6 milestone Mar 18, 2025
@PureWeen PureWeen moved this from Todo to Changes Requested in MAUI SDK Ongoing Mar 18, 2025
@mattleibow mattleibow changed the base branch from main to inflight/current March 19, 2025 16:07
@mattleibow mattleibow added area-xaml XAML, CSS, Triggers, Behaviors t/housekeeping ♻︎ labels Mar 19, 2025
@GitOguz
Copy link

GitOguz commented Mar 21, 2025

I need the ifx fast we have issues with our app.

@PureWeen PureWeen changed the base branch from inflight/current to inflight/candidate March 23, 2025 23:49
@PureWeen PureWeen merged commit 9b6ac52 into dotnet:inflight/candidate Mar 23, 2025
5 checks passed
@github-project-automation github-project-automation bot moved this from Changes Requested to Done in MAUI SDK Ongoing Mar 23, 2025
@PureWeen
Copy link
Member

/backport to inflight/current

@github-actions
Copy link
Contributor

Started backporting to inflight/current: https://github.com/dotnet/maui/actions/runs/14024228947

@PureWeen
Copy link
Member

/backport to release/9.0.1xx-sr5

@github-actions
Copy link
Contributor

Started backporting to release/9.0.1xx-sr5: https://github.com/dotnet/maui/actions/runs/14024232238

@GitOguz
Copy link

GitOguz commented Mar 24, 2025

When is this available?

PureWeen pushed a commit that referenced this pull request Mar 26, 2025
…28456)

* Update PropertyPropagationExtensions.cs

* Update PropertyPropagationExtensions.cs

* Update PropertyPropagationExtensions.cs
github-actions bot pushed a commit that referenced this pull request Mar 27, 2025
…28456)

* Update PropertyPropagationExtensions.cs

* Update PropertyPropagationExtensions.cs

* Update PropertyPropagationExtensions.cs
@github-actions github-actions bot locked and limited conversation to collaborators Apr 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-xaml XAML, CSS, Triggers, Behaviors community ✨ Community Contribution t/housekeeping ♻︎

Projects

Status: Done

6 participants