public void InvalidateRowsMeasureState(bool forceInvalidateRows) { InvalidateMeasure(); if (forceInvalidateRows) { CellCache.ClearAll(); foreach (UIElement elem in Children) { elem.InvalidateMeasure(); } } }
internal void InvalidateRowsMeasureState(bool forceInvalidateRows) { _rowsLayer.InvalidateMeasure(); if (forceInvalidateRows) { CellCache.ClearAll(); CellOverflowLayoutBuildEngine.Clear(); foreach (UIElement elem in _rowsLayer.Children) { elem.InvalidateMeasure(); } } }