strange error

5 posts, 0 answers
  1. Francisco
    Francisco avatar
    9 posts
    Member since:
    May 2011

    Posted 05 Sep 2011 Link to this post

    Hi

    I create some ecample od RadDocking I obtain this error:

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.2)
    Timestamp: Mon, 5 Sep 2011 20:19:28 UTC

    Message: Unhandled Error in Silverlight Application
    Code: 4004   
    Category: ManagedRuntimeError      
    Message: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId) [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: Set property 'Telerik.Windows.Controls.RadMenuItem.Command' threw an exception. [Line: 1429 Position: 37] ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: element
       at MS.Internal.XcpImports.ItemsControl_GetItemsOwner(DependencyObject element)
       at System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(DependencyObject container)
       at Telerik.Windows.Controls.RadMenuItem.CanExecuteApply()
       at Telerik.Windows.Controls.RadMenuItem.ChangeCommand(ICommand oldCommand, ICommand newCommand)
       at Telerik.Windows.Controls.RadMenuItem.OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.RadMenuItem.set_Command(ICommand value)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)
       --- End of inner exception stack trace ---
       at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
       at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
       at MS.Internal.XcpImports.DataTemplate_LoadContent(DataTemplate template)
       at System.Windows.DataTemplate.LoadContent()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged()
       at Telerik.Windows.Controls.RadPane.OnContextMenuTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
       at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
       at MS.Internal.FrameworkCallbacks.InvalidateProperty(IntPtr nativeTarget, UInt32 propertyId)    

    Line: 56
    Char: 13
    Code: 0
    URI: http://localhost:2166/test_dockTestPage.aspx

     

  2. Francisco
    Francisco avatar
    9 posts
    Member since:
    May 2011

    Posted 05 Sep 2011 Link to this post

    Finding the cause of the error and it is generated by install Silverlight 5 RC Rutine
  3. Roberto
    Roberto avatar
    8 posts
    Member since:
    Jan 2009

    Posted 12 Sep 2011 Link to this post

    Hi Francisco,
    have you resolved your problem? I have the same error. I tried to uninstall Silverlight 5, but with no result.
    Thanks,
    Roberto
  4. Francisco
    Francisco avatar
    9 posts
    Member since:
    May 2011

    Posted 12 Sep 2011 Link to this post

    Hello,

    You have uninstall the silverlight 5 Runtime an intall the version 4.So I resolved, attached image
  5. Jason
    Jason avatar
    9 posts
    Member since:
    Apr 2011

    Posted 19 Oct 2011 Link to this post

    Does this mean that this is an incompatability with Telerik controls and SL5?  do we have to run SL4?
Back to Top