Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
How to change button appearance for UltraWinToolBar Button Tool
posted

Hello All,

I am using Infragistics.Win.UltraWinToolbars.UltraToolbarsManager    in my application.

I have one Infragistics.Win.UltraWinToolbars.ButtonTool  button under the toolbar manager.

My toolbar button tool does not look like a button... It looks like a label.

I want it to appear like a button.

How shall I achieve this?


I've set following properties for ButtonTool

buttonTool5.SharedProps.DisplayStyle  is set to TextOnlyAlways

 

Thanks,

Rahul Jain

 

  • 53790
    posted

    Hello Rahul,

     

    Maybe if you set DisplayStyle property to the DefaultForToolType you would be able to see the button as expected:

    ultraToolbarsManager1.Tools["buttonTool5"].SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.DefaultForToolType;

    Please let me know if you have any other questions or if I am missing something from your scenario.
    Regards