public void RaiseShowImportView(ShowImportViewArgs args) { if (ShowImportView != null) { ShowImportView(this, args); } }
void view_ShowImportView(object sender, ShowImportViewArgs e) { if (e.ShowOnly) { DialogRow.Height = new GridLength(0); ImportRow.Height = new GridLength(100, GridUnitType.Star); } e.ImportView.PresentData(null); importWorkspace.Show(e.ImportView); }