diff --git a/src/Core/src/Platform/Windows/FrameworkElementExtensions.cs b/src/Core/src/Platform/Windows/FrameworkElementExtensions.cs index 0da682550720..cfc36737f50d 100644 --- a/src/Core/src/Platform/Windows/FrameworkElementExtensions.cs +++ b/src/Core/src/Platform/Windows/FrameworkElementExtensions.cs @@ -1,8 +1,8 @@ #nullable enable using System; -using System.Diagnostics.CodeAnalysis; using System.Collections.Concurrent; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Reflection; using System.Threading.Tasks; @@ -134,9 +134,9 @@ public static void UpdateVerticalTextAlignment(this Control platformControl, ITe return null; } - internal static bool TryGetFirstDescendant(this DependencyObject element, [NotNullWhen(true)]out T? result) where T : FrameworkElement + internal static bool TryGetFirstDescendant(this DependencyObject element, [NotNullWhen(true)] out T? result) where T : FrameworkElement { - result = element.GetFirstDescendant (); + result = element.GetFirstDescendant(); return result is not null; }