How to Block ContextMenu for Minimized TileViewItems?

2 posts, 0 answers
  1. SivaPrasad Bevara
    SivaPrasad Bevara avatar
    73 posts
    Member since:
    Oct 2012

    Posted 15 Nov 2010 Link to this post


    I am displaying a ContextMenu on right clicking the RadTileView Item. But I want to show the ContextMenu only when we right click on the Maximized TileView Item and I don't want to show when we right click on the Minimized TileView Items.

    How Can I block the RadContextMenu for Minimized TileViewItems.

    Please help.

  2. Petar Mladenov
    Petar Mladenov avatar
    3162 posts

    Posted 15 Nov 2010 Link to this post

    Hello SivaPrasad Bevara,

    You can use the ContextMenu.Opened event and check if the clicked RadTileViewItem  is in Minimized mode. Then you just have to set the IsOpen property of the context menu  to false. You can examine this approach in the attached file.

    Please let us know if you need more info. We would do our best to help you.

    Best wishes,
    Petar Mladenov
    the Telerik team
    See What's New in RadControls for Silverlight in Q3 2010 on Tuesday, November 16, 2010 11:00 AM - 12:00 PM EST or 10:00 PM - 11:00 PM EST: Register here>>
Back to Top