Skip to content

Commit

Permalink
Revert "Fix Compile for 50614d5"
Browse files Browse the repository at this point in the history
This reverts commit f4f4c38.
  • Loading branch information
lindexi committed Sep 7, 2022
1 parent f4f4c38 commit 0c5a8b6
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0c5a8b6

Please sign in to comment.