$99 VS $1000+. UI Control for ASP.NET AJAX(contains chart and gridview).
RibbonBar WinForms Control
KetticRibbonBar elements for user interfaces of ribbon bar creation in C# Windows applications
Home > WinForms UI Controls > User Manual > Use Different Elements in RibbonBar in C#

Elements for Building RibbonBar User Interface in C#

KetticRibbonBar control for Windows Forms contains various elements for the users to design and customize the user interface of ribbon bar. By using these elements, the users can easily customize the KetticRibbonBar control using C# code for their Windows applications. In the following tutorial, we are going to demonstrate how to add the various elements to the RibbonBar and customize them.

Add ImageList to KetticRibbonBar on WinForms

  1. In your current .NET project, click Add New Item to create a KetticRibbonForm, or change the base C# class of a standard Windows Forms to KetticRibbonForm.
  2. And the open the KetticRibbonForm designer and drag and drop the ImageList on the form.
  3. Open the Images Collection Editor, select the desired images for the ImageList

Add Tabs and Groups to KetticRibbonBar

  1. Create a new tab by clicking Add New Tab... in your .NET project
  2. Input the text Write to the newly created tab and then release the selection of the tab.
  3. Choose the Write tab once again and create a new group by clicking Add New Group...
  4. Set the Text property to Clipboard for the new group.

Add Elements to RibbonBar in Windows Forms

  1. After adding the tab and group to ribbon bar, we are able to add item to the group.
  2. Select the Clipboard group twice by right clicking and choose Add an item to add a KetticButtonElement and a Vertical Button Group successively.
  3. In the Properties window of KetticButtonElement, enable the ShowBorder property for the element.
  4. In the smart tag of Vertical Button Group, execute the Edit Items action, and add three KetticButtonElement instances in the button group.

Customization of KetticButtonElement for RibbonBar

  1. When the KetticButtonElement are created, we can customize the button element now.
  2. Choose the KetticButtonElement outside the Button Group, and set the TextImageRelation property to ImageAboveText.
  3. Customize the Image property to set a suitable image and assign the ImageAlignment property to MiddleCenter.
  4. Assign the Text property to Paste and set the TextAlignment property to MiddleCenter.
  5. In the KetticRibbonBarButtonGroup, select the first KetticButtonElement and assign the DisplayStyle property to Image, set the ImageAlignment property to MiddleCenter, and add a suitable image to the Image property.

Add KetticGalleryElement to RibbonBar

  1. When we want to add KetticGalleryElement to RibbonBar, add a new KetticRibbonBarGroup and assign it as Styles in the Write tab, and then right click it to add a KetticGalleryElement.
  2. Open the Items collection of the KetticGalleryElement, add six KetticGalleryItem instances and assign the suitable images to these instances.
  3. Hide the text of image by changing the DisplayStyle property to Image for the KetticGalleryItem.
  4. Set the MaxColumns property and MaxRows property of the KetticGalleryElement to 3 and 6 respectively.
UI Controlsfor Windows Forms
.NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI Design
WinForms UI Controls