【发布时间】:2013-09-24 11:09:58
【问题描述】:
我有一个 XAML 页面,当您第一次打开该页面时,它会在设计器中正确加载。页面上的控件之一是Telerik RadMenu。如果单击 Visual Studio 设计器中的 RadMenuItem 之一,则会引发以下异常。
异常:对 COM 组件的调用已返回错误 HRESULT E_FAIL。
堆栈跟踪:
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.Collection_InsertValue[T](PresentationFrameworkCollection`1 collection, UInt32 index, CValue value)
at MS.Internal.XcpImports.Collection_InsertDependencyObject[T](PresentationFrameworkCollection`1 collection, UInt32 index, DependencyObject value)
at System.Windows.PresentationFrameworkCollection`1.InsertDependencyObject(Int32 index, DependencyObject value)
at System.Windows.Controls.UIElementCollection.InsertInternal(Int32 index, UIElement value)
内部异常:无
这会使设计器停止工作,使其再次工作的唯一方法是关闭并重新打开 Visual Studio。这是我的XAML 的错误还是需要向 Telerik / Microsoft 报告的问题?
【问题讨论】:
标签: xaml visual-studio-2012 telerik silverlight-5.0 radmenu