Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Ribbon Tech Support » Application Button Image Collapse All
Subject Author Date
Pavel Murashov Nov 10, 2009 - 3:24 AM

How I can load image for Application Button dinamically?

Thanks.

Technical Support Nov 10, 2009 - 6:01 AM

You can do this using the following code:

ribbon1.ApplicationButtonImages.Images.Add(
                new ControlImage(
                    "Normal",
                    System.Drawing.Image.FromFile(<Image path>) 
                )
            );