* Fixed a redundant check that caused a massive slowdown on UWP.
* Fixed formatting.
* Fixed formatting.
* UWP_UI_Speed_Fix Last time on tabbing, lets hope so!
return true;
Element parent = RealParent;
- while (parent != null)
+ if (parent != null)
{
var visualElement = parent as VisualElement;
if (visualElement != null && visualElement.IsInNativeLayout)
return true;
- parent = parent.RealParent;
}
return false;
{
if (Model.IsInNativeLayout)
return;
+
var parent = (FrameworkElement)Element.Parent;
parent?.InvalidateMeasure();
Element.InvalidateMeasure();
{
if (Element.IsInNativeLayout)
return;
+
var parent = (FrameworkElement)Container.Parent;
parent?.InvalidateMeasure();
Container.InvalidateMeasure();