public ManageLayersWindow()
        {
            InitializeComponent();

            _vm = new ManageLayersWindowViewModel();
            _vm.DeleteLayerCommand = new RelayCommand(o =>
            {
                if (LayerList.SelectedItem != null)
                {
                    LayerHelper.DeleteLayer(((ManageLayersWindowViewModel.LayerEntry)LayerList.SelectedItem).Info);
                    _vm.ReloadLayers();
                }
            });

            DataContext = _vm;
        }