Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Core/src/Platform/Windows/FrameworkElementExtensions.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -134,9 +134,9 @@ public static void UpdateVerticalTextAlignment(this Control platformControl, ITe
return null;
}

internal static bool TryGetFirstDescendant<T>(this DependencyObject element, [NotNullWhen(true)]out T? result) where T : FrameworkElement
internal static bool TryGetFirstDescendant<T>(this DependencyObject element, [NotNullWhen(true)] out T? result) where T : FrameworkElement
{
result = element.GetFirstDescendant<T> ();
result = element.GetFirstDescendant<T>();
return result is not null;
}

Expand Down