We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Custom images in Buttons / RibbonBar buttons

Cant find anything in the documentation on using custom images on a button

do you have a simple example on how to use an existing image (PNG or JPG) on a button?

thanks


1 Reply

PK Prem Kumar Madhan Raj Syncfusion Team January 30, 2017 12:54 PM UTC

Hi Michael,   
   
Thanks for contacting Syncfusion support.   
   
We have analyzed your requirement for adding an existing image in a button. To use an external image inside Button control, you could use the PrefixIcon or SuffixIcon APIs available in button Plugin.   
   
For your convenience, we have created a simple sample based on your requirement.    
   
Sample link: Button_image_Sample    
   
Please get back to us if you have any further assistance.   
   
Regards,   
   
Prem Kumar Madhan Raj.   


Loader.
Up arrow icon