private bool PrepareElement(UIElement element) { if (element.GetPlaneProjection(true) == null) { return false; } return true; }
/// <summary> /// Prepares the element. /// </summary> /// <param name="element"> /// The element. /// </param> /// <returns> /// The prepare element. /// </returns> private static bool PrepareElement(UIElement element) { return element.GetPlaneProjection(true) != null; }