public Size UpdateAndMeasure(ItemsControl element) { element.BeginInit(); element.EndInit(); return UpdateAndMeasure((FrameworkElement) element); }