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

How to use Ribbon Header Image

I need use the option Custom, but I can't select the custom image.
How to make?

1 Reply

SK Senthil Kumaran Rajan Syncfusion Team August 27, 2015 10:25 AM UTC

Hi Thomaz,

Thank you for using Syncfusion products.

We hope your reported requirement is use custom Header image in RibbonControlAdv. If so, refer to the below steps to achieve the requirement.

1)      Need to set RibbonHeaderImage property as “Custom
2)      Need to assigning required image, by using its property named CustomRibbonHeaderImage.

Please make use of the below code example.


Code Example[C#]:


//To set custom image in Ribbon Header.

this.ribbonControlAdv1.RibbonHeaderImage = RibbonHeaderImage.Custom;

//To assign image in RibbonHeader

this.ribbonControlAdv1.CustomRibbonHeaderImage = imageListAdv1.Images[0];



We have also prepared a sample for your reference and it can be downloaded from the below location.

Sample Location : http://www.syncfusion.com/downloads/support/forum/120045/ze/RibbonCustomImage1589651438

Also, refer to the below screenshot for further reference.

Screenshot:



Regards,
Senthil


Loader.
Live Chat Icon For mobile
Up arrow icon