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
515
Ribbon Caption with transparent image
posted

With infragistics ribbon its possible to put an image as a caption. Is it possible to make this image transparent and if yes how?

Thanks in advance

Mike Evans

  • 20872
    Offline posted

    Hello Mike,

    It is possible to put an image as a caption.

    What you could do is the following:

       //Setting the desired Image
               ultraToolbarsManager1.Ribbon.CaptionAreaAppearance.ImageBackground = Bitmap.FromFile("YourImageHere.jpg");
                //Setting the desired AlphaLevel
               ultraToolbarsManager1.Ribbon.CaptionAreaAppearance.AlphaLevel = 128;
                // Use the set alpha level or choose another option from the enumaration
               ultraToolbarsManager1.Ribbon.CaptionAreaAppearance.ImageBackgroundAlpha = Infragistics.Win.Alpha.UseAlphaLevel;
                //Set the style of you background image
               ultraToolbarsManager1.Ribbon.CaptionAreaAppearance.ImageBackgroundStyle = Infragistics.Win.ImageBackgroundStyle.Centered;

    Please let me know if you have any further questions.

    Sincerely,

    Danko

    Developer Support Engineer, MCTS

    Infragistics

    www.infragistics.com/support