public void Show(Panel container) { if (container != null) { if (m_pageTab != null) { m_pageTab.SetValue(LoadingSettingProperty, this); } if (m_loadingSpin == null) { container.Children.Add(this.Loading); } m_loadingSpin.IsBusy = true; m_loadingSpin.Focus(); } }