/// <summary> /// Removes all elements associated with the specified view from the Foundation's processing queues. /// </summary> /// <param name="view">The view to remove from the queues.</param> internal void RemoveFromQueues(PresentationFoundationView view) { Contract.Require(view, nameof(view)); StyleQueue.Remove(view); MeasureQueue.Remove(view); ArrangeQueue.Remove(view); }
/// <summary> /// Removes the specified UI element from all of the Foundation's processing queues. /// </summary> /// <param name="element">The element to remove from the queues.</param> internal void RemoveFromQueues(UIElement element) { Contract.Require(element, nameof(element)); StyleQueue.Remove(element); MeasureQueue.Remove(element); ArrangeQueue.Remove(element); }