Hi,
i am opening a column chooser on a selection from the data grid context menu.
Code is like this:
public void ShowColumnChooserPanel(object obj)
{
var dataGrid = (obj as GridColumnContextMenuInfo).DataGrid;
ColumnChooser chooserWindow = new ColumnChooser(dataGrid);
chooserWindow = new ColumnChooser(dataGrid);
chooserWindow.Resources.MergedDictionaries.Clear();
chooserWindow.ClearValue(ColumnChooser.StyleProperty);
dataGrid.GridColumnDragDropController = new GridColumnChooserController(dataGrid, chooserWindow);
//ColumnChooser Window will open
chooserWindow.Width = 300;
chooserWindow.Height = 300;
chooserWindow.ShowDialog();
chooserWindow.Owner = System.Windows.Application.Current.MainWindow;
}
When i close the Column chooser window and then terminate my application, the main application window closes, but the application keeps running.
This is not the case when i don't show the column chooser window.
am i doing something wrong?
thx,
Helmut