This example shows how to change the location of bar items within a Ribbon page group. For this, we have created a custom RibbonControl.
To provide the capability to determine a BarItem location, we have created a special BarItemExtender component that implements the IExtenderProvider interface. Thus, you can set the BarItem location at design time. That is, any BarItem will have a new location in the BarItemExtender property if you place the BarItemExtender component onto the form.
To make a custom RibbonControl take the Location option into account, set the RibbonControlDescendant.BarItemExtender property to the BarItemExtender component located on your form.
Question Comments
Added By: sandeep deokar at: 12/21/2015 3:10:32 AM
I created all required classes :BarItemExtender, RibbonControlDescendant, RibbonPageGroupComplexLayoutCalculatorDescendant & RibbonViewInfoDescendant and also dragged BarItemExtender on my win form, but I don`t understood how to set set the RibbonControlDescendant.BarItemExtender property to the BarItemExtender.
Added By: Alisher (DevExpress Support) at: 12/21/2015 3:57:19 AMHello,
To process your recent post more efficiently, I created a separate ticket on your behalf: T326923: How to change the location of bar items within a Ribbon page group. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.