This question is locked. New answers and comments are not allowed.
Hi Guys,
I am trying to clear items of a ContextMenu but I cam gettings the following error :
Failed to assign to property 'System.Windows.Controls.ContentPresenter.Content.
I am using the following code :
((GVContextMenuItem)ContextMenu.Items[3]).Items.Clear();
Is there another way to clear Menu Itmes without using Clear() method.
Thanks
I am trying to clear items of a ContextMenu but I cam gettings the following error :
Failed to assign to property 'System.Windows.Controls.ContentPresenter.Content.
I am using the following code :
((GVContextMenuItem)ContextMenu.Items[3]).Items.Clear();
Is there another way to clear Menu Itmes without using Clear() method.
Thanks