Context menu in WPF/E

Is WPF/E going to support customizable context menu on right mouse click?
[73 byte] By [PeterKalev] at [2008-2-22]
# 1

Right now we don't have any context menu :) but we have started to think about this and will take into account customizability (no guarantees).

-mark
Program Manager
Microsoft
This post is provided "as-is"

MarkRideout at 2007-9-4 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...
# 2
I'm also interested in context menu functionality especially since there is no right mouse button down or up events. If we'll be able to detect the right-mouse button in the future easily then nothing specific needs to be added since we could handle the events.
DanWahlin at 2007-9-4 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...
# 3

Right now we do not have plans to expose right mouse button events. When we expose a context menu for the control itself (think of an "About WPF/E control" option on the context menu) we initially would not provide the ability to customize that context menu. Not saying that we will never add this, just not something we are doing currently.
How important is a context menu? Do you see custom context menus a lot in Flash sites?
I know I'm personally starting to see more context menus in AJAX sites.

One option is that you expose a little glyph next to your content that displays a 'context menu' -- not something that is right-clicked based. This might be more discoverable.

-mark
Program Manager
Microsoft
This post is provided "as-is"

MarkRideout at 2007-9-4 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...
# 4

Our company currently developes an application based on SVG (Adobe SVG Viewer), but we like the cross-browser capability of WPF/E and we are considering using it instead SVG in the future.

The customizable context menu is something our customers are accustomed to.

PeterKalev at 2007-9-4 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...
# 5

Thanks for the info. As we work on the context menu feature planning I'll keep this in mind.

-mark
Program Manager
Microsoft
This post is provided "as-is"

MarkRideout at 2007-9-4 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...
# 6
I'd very much like to see a right-click event exposed too (I have heavy use for it in our controls).
Odegaard at 2007-9-4 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...
# 7

Thanks again for the feedback. What type of controls are you attempting to create in "WPF/E"?

-mark
Program Manager
Microsoft
This post is provided "as-is"

MarkRideout at 2007-9-4 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...
# 8

1. Drawing and editing vector graphics. I want to be able to right click elements or vertices to delete, insert, rearrange or move them.

2. User-customizable context menus for my controls for enhanced functionality.

Odegaard at 2007-9-4 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...
# 9

Yes, I think those of use that come from the SVG (Adobe SVG plugin) world would be happy to see a user-customizable context menu instead of everyone coming up with his own solution.

Tim

TimFavour at 2007-9-4 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...
# 10
Found this thread when looking on how to implement right-click functionality on wpf/e (now silverlight). Think on e-learning and simulated exams. In the company where I work in we do a lot of that in flash and authorware to simulate windows and office apps.

regards,
--hugo

hfarinha2 at 2007-9-4 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...
# 11

Hugo - Can you describe what you do in Flash regarding context menus? Do you add to their context menu? Thanks.

-mark
Program Manager
Microsoft
This post is provied "as-is"

MarkRideout at 2007-9-4 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...
# 12

Hi

I think it would be good to have a context menu as well, we would definitely use it as most of our clients using svg do at the mo.

Not sure what Mark means by "Do you see custom context menus a lot in Flash sites? ". Just b'cos Flash hasnt got it, does it mean Silverlight shouldnt as well?

Richard

rgny at 2007-9-4 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...
# 13

Just b'cos Flash hasnt got it, does it mean Silverlight shouldnt as well?

That isn't the approach that we have taken.

Flash's context menu is customizable -- you can add items to it. Has this been adequate for people?

-mark
Program Manager
Microsoft
This post is provided "as-is"

MarkRideout at 2007-9-4 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...