예제 #1
0
 public static bool GetUseMeasurePathDisabled(FrameworkElement element)
 => element.IsMeasureDirtyPathDisabled;
예제 #2
0
 /// <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;
예제 #3
0
 /// <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;
예제 #4
0
 public static bool GetUseArrangePathDisabled(FrameworkElement element)
 => element.IsArrangeDirtyPathDisabled;
예제 #5
0
 private static IEnumerable <FrameworkElement> GetDescendants(this FrameworkElement root)
 {
     throw new NotImplementedException();
 }
예제 #6
0
 internal static T FindFirstChild <T>(this FrameworkElement root, bool includeCurrent) where T : FrameworkElement
 {
     throw new NotImplementedException();
 }