我如何理解Radribbonbar中单击的帮助按钮 [英] How Can I Understand The Help Button Is Clicked In Radribbonbar
本文介绍了我如何理解Radribbonbar中单击的帮助按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在radRibbonBar属性中有一个radRibbonBar,我们有ShowHelpButton = True
所以现在我想了解用户何时单击帮助(?)按钮!!!就像radRibbonBar中的图片一样,我找不到click事件.
谢谢
i have a radRibbonBar in radRibbonBar property we have ShowHelpButton=True
so now i want understand when the user is click on the help ( ? ) button!!!! it is like picture in the radRibbonBar and i can not find the click event.
thanks
推荐答案
很遗憾,经过2天的搜索,我找不到任何东西,但
今天很幸运,我可以使用此代码自己解决问题
Unfortunately after 2 day search i can not find any thing but
fortunately today i can solve the problem with myself with this code
private void radRibbonBar1_Click(object sender, EventArgs e)
{
if (radRibbonBar1.RibbonBarElement.HelpButton.IsMouseDown)
{
MessageBox.Show("the help button is clik");
}
}
如果您想通过按F1键激活帮助,则应转到
上的radRibbonBar事件
and if you want to active your help by pressing F1 you should go to the radRibbonBar event on the
private void radRibbonBar1_HelpRequested(object sender, HelpEventArgs hlpevent)
{
MessageBox.Show("this is help");
}
按下F1寻求帮助即可激活
it activate by pressing F1 for help
这篇关于我如何理解Radribbonbar中单击的帮助按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文