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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to use Ribbon Header Image

Thread ID:

Created:

Updated:

Platform:

Replies:

120045 Aug 26,2015 02:40 PM UTC Aug 27,2015 10:25 AM UTC Windows Forms 1
loading
Tags: RibbonControlAdv
Thomaz Lima
Asked On August 26, 2015 02:40 PM UTC

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

Senthil Kumaran Rajan [Syncfusion]
Replied On 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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;