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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to create custom controls like the Ribbon Gallery item in MSOffice2013 and load it in RibbonControlAdv?

In RibbonControlAdv, it is possible to host customer controls as its items. Follow the given steps to load custom control in RibbonControlAdv.

  1. You can host any type of control in RibbonControlAdv, hence you need to design the requirements of the customer control.
  2. Load it as the child of the PopupControlContainer.
  3. Display the PopupControlContainer based on selection.

The following code example is to demonstrate the same.

C#

VB

The following image shows the Custom DropDown with resizable functionality.

Figure 1: Output

Note: The ShowGripper property of the SizablePopupControlContainer is set as True. Hence, it is needed to disable the ShowGripper property to hide the gripper style.

Samples:

C# : http://www.syncfusion.com/downloads/support/directtrac/139141/RibbonGallery431563981.zip

VB : http://www.syncfusion.com/downloads/support/directtrac/139141/RibbonGallery_VB730974864.zip

Article ID: Published Date: Last Revised Date: Platform: Control:
5057 05/27/2015 05/27/2015 WinForms RibbonControlAdv
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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