private void HideContentHelper() { if (_threadedHelper != null) { _threadedHelper.Stop(); _threadedHelper = null; InvalidateMeasure(); } }
private void CreateContentHelper() { _threadedHelper = new ThreadedVisualHelper(CreateContent, SafeInvalidateMeasure); _hostVisual = _threadedHelper.HostVisual; }