diff --git a/src/Controls/src/Core/Internals/PropertyPropagationExtensions.cs b/src/Controls/src/Core/Internals/PropertyPropagationExtensions.cs index a6ef8ef550c8..93713f124de9 100644 --- a/src/Controls/src/Core/Internals/PropertyPropagationExtensions.cs +++ b/src/Controls/src/Core/Internals/PropertyPropagationExtensions.cs @@ -1,4 +1,5 @@ #nullable disable +using System; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -8,6 +9,15 @@ namespace Microsoft.Maui.Controls.Internals /// public static class PropertyPropagationExtensions { + [Obsolete] + internal static void PropagatePropertyChanged(string propertyName, Element element, IEnumerable children) + { + if (children == null) + return; + + PropagatePropertyChanged(propertyName, element, children.OfType().ToList()); + } + internal static void PropagatePropertyChanged(string propertyName, Element element, IReadOnlyList children) { if (propertyName == null || propertyName == VisualElement.FlowDirectionProperty.PropertyName)