private void OnDesignerHost_Loaded(object sender, LoadedEventArgs e) { if (_loadErrors == null) { _loadErrors = new object[0]; } this.OnLoaded(new LoadedEventArgs(e.HasSucceeded, _loadErrors)); }
protected virtual void OnLoaded(LoadedEventArgs e) { _loadErrors = e.Errors; _isLoaded = e.HasSucceeded; if (Loaded != null) { Loaded(this, e); } }
private void OnDesignerHost_Loaded(object sender, LoadedEventArgs e) { this.OnLoaded(e); }