命名空间中不存在类型或命名空间名称“ribbontab” [英] the type or namespace name 'ribbontab' does not exist in the namespace

查看:408
本文介绍了命名空间中不存在类型或命名空间名称“ribbontab”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果你引用

plz help me friends its too important

推荐答案

/microsoft.windows.controls.ribbon.ribbontab.aspx\">RibbonTab [ ^ ]您需要添加对RibbonControlsLibrary(在RibbonControlsLibrary.dll中)程序集的引用,并使用语句Microsoft.Windows.Controls.Ribbon添加命名空间

如果你从后面的代码创建RibbonTab控件,你需要使用RibbonTab代替ribbontab(C#是区分大小写的),如果你已经将RibbonTab添加到你的页面/表单中并且您需要访问该控件然后检查给予控件的名称/ ID与您在代码中给出的名称/ ID完全相同。
if you referring RibbonTab [^] you need to add reference to RibbonControlsLibrary (in RibbonControlsLibrary.dll) assembly and add using statement "Microsoft.Windows.Controls.Ribbon" for the namespace
And also if you creating RibbonTab control from code behind you need to use "RibbonTab" instead of "ribbontab" (C# is case sensitive), in case of you already added RibbonTab to your page/form and you need to access that control then check the name/ID given to control is exactly same with what you have given in your code.


这篇关于命名空间中不存在类型或命名空间名称“ribbontab”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆