I'd like to create a "LongClick" type behavior where a context menu displays after a short delay... is that possible with the RadContextMenu? I don't see a listing of the strings of the EventNames that you can use to display the menu in the documentation anywhere.
I thought I could set or bind the IsOpen property of the menu... My idea was that I'd bind it to a property that would change after the delay elapsed. But setting the property to "True" causes a crash AG_E_PARSER_BAD_PROPERTY_VALUE [Line: 37 Position: 54]
and binding it to a value in my ViewModel does nothing at all.
I thought I could set or bind the IsOpen property of the menu... My idea was that I'd bind it to a property that would change after the delay elapsed. But setting the property to "True" causes a crash AG_E_PARSER_BAD_PROPERTY_VALUE [Line: 37 Position: 54]
<Button Content="Menu" Visibility="{Binding MenuButtonVisibility}">
<telerikNavigation:RadContextMenu.ContextMenu>
<telerikNavigation:RadContextMenu IsOpen="True" >
<telerikNavigation:RadMenuItem Header="Edit..." />
<telerikNavigation:RadMenuItem Header="Add..." />
<telerikNavigation:RadMenuItem IsSeparator="True"/>
<telerikNavigation:RadMenuItem Header="Cut" />
<telerikNavigation:RadMenuItem Header="Paste" />
<telerikNavigation:RadMenuItem IsSeparator="True"/>
<telerikNavigation:RadMenuItem Header="Delete"
cal:Click.Command="{Binding DeleteItemCommand}"
cal:Click.CommandParameter="{Binding Location}"/>
</telerikNavigation:RadContextMenu>
</telerikNavigation:RadContextMenu.ContextMenu>
</Button>
and binding it to a value in my ViewModel does nothing at all.