Replies
Hi,
I tried like you suggested but the result is not fulfilling my expectations.
The popUpMenueTools which are created dynamically
PopupMenuTool popUp = new PopupMenuTool(row.CHILDID.ToString());
popUp.Settings.ShowToolTips = DefaultableBoolean.True;
The ultraToolBarManager
ultraToolbarsManager1.ShowToolTips = true;
ultraToolbarsManager1.ToolTipDisplayStyle = Infragistics.Win.UltraWinToolbars.ToolTipDisplayStyle.Formatted;
The Event as you suggested
private void ultraToolbarsManager1_MouseEnterElement(object sender, UIElementEventArgs e)
{
DefaultableBoolean result = e.Element.Enabled ? DefaultableBoolean.False : DefaultableBoolean.True;
this.ultraToolbarsManager1.ShowToolTips = !e.Element.Enabled;
this.ultraToolbarsManager1.MenuSettings.ShowToolTips = result;
if (e.Element.Enabled)
e.Element.ToolTipItem = null;
}
The tooltips are still displayed when the ButtonTools are allowed. Also i found that opening a popupmenu with a disabled tooltip the tooötip first is not displayed until i enter it after I entered an allowed one in the same PopUp menu.
And yeah I want this just only for ButtonTools because I do not have any other tools in the toolbar. Thanks in advance
Hi,
so I managed to show the tooltips for the ButtonTools with:
PopupMenuTool popUp = new PopupMenuTool("SOMEKEY");
popUp.Settings.ShowToolTips = DefaultableBoolean.True;
The last question now is, how to disable all the default tooltips for each ButtonTool
I tried to set ToolTipDisplayStyle in the UltraToolBarsManager as suggested in
http://www.infragistics.com/community/forums/t/63466.aspx
But no ToolTip is displayed anymore
Hi,
I forgot to mention that the ButtonControl is inside a PopupMenuTool. If this is important