Hi~
I want prevent minimize a ribbon tab when I press ctrl+f1 keyboard key.
Is there a way to disable this functionality?
I used Infragistics2.v11.2 .
Hi,
There doesn't appear to be any way to explicitly prevent the minimizing of the ribbon. But I found a way around it by creating a tool that has a shortcut key of Ctrl+F1 that does nothing. The tool just has to exist in the ToolbarsManager.Tools collection - it doesn't have to be displayed on the ribbon.
Thank you for the quick reply to my inquiry.
I applied IsMinimized property.
but ribbon tab is blinking symptoms appeared.
How can I get rid of these symptoms?
Hello Min,
Maybe one possible solution could be if you handle PropertyChanged event. For example:
private void ultraToolbarsManager1_PropertyChanged(object sender, Infragistics.Win.PropertyChangedEventArgs e)
{
if (e.ChangeInfo.Trigger.PropId.ToString() == "IsMinimized")
ultraToolbarsManager1.Ribbon.IsMinimized = false;
}
Let me know if you have any questions.
Regards