Can Text be shown in Application menu instead of an Icon
Hi,
This is a great idea. Here you can find more about customizing the application menu 2010 area and file menu button: http://help.infragistics.com/NetAdvantage/WinForms/2010.3/CLR2.0/?page=WinToolbarsManager_Customize_Areas_of_Application_Menu_2010_and_File_Menu_Button.html
Let me know if you will need more help.
Regards,
Stefaniya
Thanks Stefaniya, It will probably work but I think I will try out the Office 2010 style in the new 10.3 release
Let me know if this suggestion works for you.
You can use the ApplicationMenuButtonImage property and set a an image with the desired text.
Just for example:
ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.ScenicRibbon;
// emptySpace.png is used as a canvas for the text that will be drawn
Image img = Image.FromFile(@"..\..\emptySpace.png");
Bitmap b0 = new Bitmap(img, new Size(50, 20));
using (Graphics g = Graphics.FromImage(b0))
{
g.DrawString("text", new Font("Arial", 10f), Brushes.Black, 0, 0);
}
ultraToolbarsManager1.Ribbon.ApplicationMenuButtonImage = b0;
Let me know if this works for you.