How to add Ribbon Groups to the RibbonBar?
|
Article Information
|
Article relates to VIBlend RibbonBar for WinForms
|
How To
|
Create and add a RibbonGroup at Design-Time
|
Solution
|
To achieve this, follow these steps:
|
1. Create a new instance of the vRibbonBar via drag and drop from the toolbox or create it programmatically.
|
2. Add a new TabPage. You can do this by clicking on the “Add New Tab” button
|
3. Add a new RibbonGroup. In order to do this, click on the “Add Ribbon Group” button.
|
4. If you want to add additional ribbon groups to the selected TabPage, just continue clicking on the “Add Ribbon Group” button.
In order to resize a Ribbon Group, you need to select it and drag the horizontal visual indicators to the left or right direction.
|
5. To add a control to a Ribbon Group, just drag a control from the toolbox and drop it into the RibbonGroup’s content
|
6. To change the RibbonBar’s theme, you need to use the VIBlendTheme property and select one of the available themes. You can do this by using the Property Grid or through the Ribbon Bar's ActionList.
|
|