private void OnInvalidateEntitiesMessage(InvalidateEntity entity) { DateTime now = DateTime.Now; double timeDifference = (now - lastNotifyProxyProperty).TotalMilliseconds; if (timeDifference > NotifyPropertyUpdateRate) { selectedItem?.Invalidate(); } TriggerInvalidateChildren(); }