This is a migrated thread and some comments may be shown as answers.

How to Block ContextMenu for Minimized TileViewItems?

1 Answer 53 Views
TileView
This is a migrated thread and some comments may be shown as answers.
SivaPrasad Bevara
Top achievements
Rank 1
SivaPrasad Bevara asked on 15 Nov 2010, 10:45 AM
Hi,

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.

Regards,
SivaPrasad.B

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 15 Nov 2010, 03:27 PM
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>>
Tags
TileView
Asked by
SivaPrasad Bevara
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or