如何从活动标签中获取功能区栏中的内容ID [英] how to get content id in ribbonbar from active tab

查看:115
本文介绍了如何从活动标签中获取功能区栏中的内容ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一个查看数据的应用程序。在我的应用程序中有一个功能区栏包含书签,评论...等。我希望活动标签中的带状栏中的内容ID。

请帮助我。



i have a application for data viewing. in my application there is a ribbon bar contain bookmark,comment...etc.i want content Id in ribbon bar from the active Tab.
please help me.

推荐答案

请先阅读我的评论。



这篇好文章可能会有所帮助:了解WPF中的路由事件和命令 [ ^ ]。



例如,RibbonButton有几个事件 [ ^ ] 。按照链接 [ ^ ]了解如何捕获点击事件。



请使用 SearchBox [ ^ ]以获取更多信息。
Please, read my comment first.

This great article might be helpful: Understanding Routed Events and Commands In WPF[^].

For example, RibbonButton has got several events[^]. Follow the link[^] to see how to catch click event.

Please, use SearchBox[^] for further information.


这篇关于如何从活动标签中获取功能区栏中的内容ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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