GOstrowsky wrote:
This wasn't too hard to work-around, as I only had one property to worry about, but imagine I was using the same Command & CommandParameter binding in a DataTemplate.
I am afraid I don't completely understand the scenario where you are experiencing this issue. The items list that are shown in the grid, would they be the names of different Views to navigate to?I actually hit this again the other day (when I was working in a new codebase without my workaround). My scenario was this:
It would be helpful if you describe us the behaviour you are trying to accomplish. Also, you could send us a code sample of your app so we could reproduce and debug the issue to provide you better support.
- There is a TextBox on a form
- The TextBox has a custom ContextMenu, with an extra MenuItem of the form "Copy Special"
-
The "Copy Special" command must be disabled unless the text displayed in the TextBox (not just the bound value) is "valid"
This wasn't too hard to work-around, as I only had one property to worry about, but imagine I was using the same Command & CommandParameter binding in a DataTemplate.
Please notice that this discussion thread is related to Prism v1, which is not available anymore (The current version since February 2012 is Prism v4.1). Therefore, I would suggest you to open a new discussion in order to mantain and motivate a clean and ordered forum, unless your issue directly relates to the one discussed above.AFAICT there would be no difference in behaviour between Prism v1 & v4.1 here (although I've not tested). I can't see anything in the code that has changed. Starting a new thread seems a bit pointless, as that would actually hide the fact that I posted a workaround.