This project is read-only.

Fluent's ResourceDictionary+ContextMenu+IValueConverter = missing ContextMenu

Feb 17, 2011 at 9:18 AM
Edited Feb 17, 2011 at 9:23 AM

Hi,

I'm running into a weird behaviour, then only occurs when I include the Fluent ResourceDictionary in the Windows.Resources segment.

I've uploaded the project here:

http://depositfiles.com/files/wp96zpya1

 

Steps to replicate:

1. Click Add new Parent -> New parent node appears

2. Click on the Parent node -> "Add new child " button becomes available

3. Click "Add new child" -> New child node appears under parent node

4. Right click on the Child node -> notice context menu appears

5. Click the Parent node

6. Click "Add new child" -> 2nd new child node appears

7. Right click on the child node -> the context menu no longer works

 

If I were to remove the ResourceDictionary, it works as expected. Which leads me to believe the problem is caused by the ResourceDictionary that is provided by the Fluent control

I've also found out the following:

1. Will work if I do not use a IValueConverter to select a ContextMenu

2. Will work if the Fluent ResourceDictionary is added in the App.Resources

 

Please help

Thanks!