diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Input/InputElement.cs b/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Input/InputElement.cs index 96bd8eed761..80b780a9016 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Input/InputElement.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Input/InputElement.cs @@ -28,24 +28,6 @@ internal static bool IsValid(DependencyObject o) return o is UIElement or ContentElement or UIElement3D; } - // Returns whether the given DynamicObject is a UIElement or not. - internal static bool IsUIElement(DependencyObject o) - { - return UIElementType.IsInstanceOfType(o); - } - - // Returns whether the given DynamicObject is a UIElement3D or not. - internal static bool IsUIElement3D(DependencyObject o) - { - return UIElement3DType.IsInstanceOfType(o); - } - - // Returns whether the given DynamicObject is a ContentElement or not. - internal static bool IsContentElement(DependencyObject o) - { - return ContentElementType.IsInstanceOfType(o); - } - // Returns the containing input element of the given DynamicObject. // If onlyTraverse2D is set to true, then we stop once we see a 3D object and return null internal static DependencyObject GetContainingUIElement(DependencyObject o, bool onlyTraverse2D)