【问题标题】:Telerik RadMenu XAML designer errorTelerik RadMenu XAML 设计器错误
【发布时间】: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


    【解决方案1】:

    这是由 Visual Studio 2012 中的错误引起的。VS 2013 没有这个问题,VS 2012 更新 4 修复了这个问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-07-28
      • 2016-05-08
      • 2016-10-26
      • 1970-01-01
      • 1970-01-01
      • 2013-12-24
      • 2015-01-05
      相关资源
      最近更新 更多