Recommended

Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 5 results for ContextMenu.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Silverlight Show  on  May 25, 2010 (2 weeks ago)
    Take a look at this article in which Suprotim Agarwal explains about the ability to right click an element and invoke a custom ContextMenu in Silverlight 4.

    Silverlight 4 now adds support for MouseRightButtonDown and the MouseRightButtonUp events on all UIElements. The Silverlight Toolkit (April Release) also introduces the ContextMenu control to Silverlight developers. In this article, we will see how to

    •             Use the ContextMenu control released in the Silverlight 4 Toolkit
    •     Display the ContextMenu on a TextBox by using the new Right-Click mouse event support in Silverlight 4
    •    Access the clipboard programmatically (new in Silverlight 4) to do Cut, Copy and Paste operations on a TextBox



  • Using Silverlight 4 features to create a Zune-like context menu

    0 comments  /  posted by  Silverlight Show  on  May 17, 2010 (3 weeks ago)
    In this post Jeff Wilcox creates a Zune style context menu by using some new Silverlight 4 features.

    Trying to create a modern, clean and crisp user interface is a challenge – and it’s something that Zune has done rather well in both their software and hardware experiences.

    I took a few minutes to experiment with new Silverlight 4 features, including the new Silverlight Toolkit (April 2010 release) that includes a context menu control, to re-style/re-template the menu to look similar to a few other menus.

  • We've secretly changed this control's DataContext - let's see if it notices

    0 comments  /  posted by  Silverlight Show  on  May 12, 2010 (1 month ago)
    David Anson has posted this workaround for a Silverlight data binding bug affecting various scenarios including DataGrid and ContextMenu.

    I was contacted by Simon Weaver via Twitter about a problem where the Bindings for MenuItems of a ContextMenu on a DataGrid were acting as though they were associated with a different row than they really were. This seemed pretty weird until Yifung Lin, one of the original DataGrid developers, suggested this might be due to the row recycling behavior DataGrid uses to improve performance. It turns out he was right - but the rabbit hole goes much deeper than that...

  • 0 comments  /  posted by  Silverlight Show  on  May 05, 2010 (1 month ago)
    If you have a problem with the new ContextMenu control when toggling the IsEnabled property of a MenuItem directly, take a look at this post of David Anson in which he suggests some easy workarounds.

    A few days ago, Martin Naughton and Tiago Halm de Carvalho e Branco independently contacted me to report a problem they were having with the new ContextMenu control in the April '10 release of the Silverlight Toolkit. In both cases, they were toggling the IsEnabled property of a MenuItem directly and reported that the control's visuals weren't updating correctly. I was a little surprised at first because I knew I'd tested dynamic changes to the enabled state and I'd seen them work properly. But once I created a test project to investigate the report, I saw how the problem scenario was different.

  • 8 comments  /  posted by  Walter Ferrari  on  May 05, 2010 (1 month ago)

    Introduction

    One of the things I found frustrating in the previous versions of Silverlight was the lack of the Right Mouse Click support. Now we know that this functionality has turned real with Silverlight 4. Furthermore, we know that the April 2010 Silverlight toolkit release comes with a ContextMenu Control to be used in combination with the right click. So it’s time to put these new things in practice and try to use them in our projects. In this article we will see how to create and use a ContextMenu, how it is made and then we will extend it in a peculiar way.


Help us make SilverlightShow even better and win a free t-shirt. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need a material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)