public static bool GetUseMeasurePathDisabled(FrameworkElement element)
 => element.IsMeasureDirtyPathDisabled;
 /// <summary>
 /// Sets the x:Phases defined by all the children controls. The control must be the root element of a DataTemplate.
 /// </summary>
 /// <param name="target">The target <see cref="FrameworkElement"/></param>
 /// <param name="declaredPhases">A set of phases used by the children controls.</param>
 public static void SetDataTemplateRenderPhases(FrameworkElement target, int[] declaredPhases)
 => target.DataTemplateRenderPhases = declaredPhases;
 /// <summary>
 /// Set the rendering phase, defined via x:Phase.
 /// </summary>
 /// <param name="target">The target <see cref="FrameworkElement"/></param>
 /// <param name="phase">The render phase ID</param>
 public static void SetRenderPhase(FrameworkElement target, int phase)
 => target.RenderPhase = phase;
 public static bool GetUseArrangePathDisabled(FrameworkElement element)
 => element.IsArrangeDirtyPathDisabled;
 private static IEnumerable <FrameworkElement> GetDescendants(this FrameworkElement root)
 {
     throw new NotImplementedException();
 }
 internal static T FindFirstChild <T>(this FrameworkElement root, bool includeCurrent) where T : FrameworkElement
 {
     throw new NotImplementedException();
 }