Search code examples
c#wpfdevexpressribbon-control

How to add buttons to DevExpress RibbonControl?


I am using DevExpress WPF MVVM Framework. I want to add buttons above the "Home" tab as shown by this image. How is it possible? enter image description here

<dxb:BarManager> 
    <dxb:BarManager.Items>
        <dxb:BarButtonItem x:Name="barButtonItem1" Content="About" Glyph="pack://application:,,,/DevExpress.Images.v13.1;component/Images/Support/Info_16x16.png" LargeGlyph="pack://application:,,,/DevExpress.Images.v13.1;component/Images/Support/Info_32x32.png" Command="{Binding ShowAboutCommand}"/>
        <dxb:BarButtonItem x:Name="barButtonItem2" Content="New" />
        <dxb:BarButtonItem x:Name="SaveCommandBarButtonItem" Content="Save" />
    </dxb:BarManager.Items>
...               

Solution

  • Dua, Please visit this link http://www.devexpress.com/Support/Center/Question/Details/Q510019, same question has posted there. May be it will help you.

    Devexpress FAQ provides facility to ask Questions, Devexpress support team can better answer to solve queries related to their tools. Thanks, Tameen