首页 > 代码库 > DevExpress 隐藏Ribbon中barbuttonItem的SuperTip

DevExpress 隐藏Ribbon中barbuttonItem的SuperTip

public frmMain()
{
InitializeComponent();
ribbonControl1.Manager.HighlightedLinkChanged += Manager_HighlightedLinkChanged;
pub_form = this;
}

void Manager_HighlightedLinkChanged(object sender, DevExpress.XtraBars.HighlightedLinkChangedEventArgs e)
{
if (e.Link != null)e.Link.HideHint();
}

每个版本对应的事件明可能不同,我用的版本是16.1.2

DevExpress 隐藏Ribbon中barbuttonItem的SuperTip