Relative Content

Tag Archive for c#wpfxamlmru

Can’t Select MRU Recent Files Item Twice

I have an application which uses a RibbonApplicationMenu which I’ve created using the example at WPF ObservableCollection not updating in ribbon view. This lists the most recently opened files. However it’s not possible to select the same item twice. When an item is selected for the first time the selection is highlighted and the file opens using the XAML SelectionChanged event. However if selected again the selection is ignored. The only way around this seems to be to select another item then select the original one.