Back to Devexpress

DXRibbonWindow Class

wpf-devexpress-dot-xpf-dot-ribbon-4bf9b740.md

latest5.7 KB
Original Source

DXRibbonWindow Class

A window that is designed to be used together with a RibbonControl, to implement the Ribbon UI in your application.

Namespace : DevExpress.Xpf.Ribbon

Assembly : DevExpress.Xpf.Ribbon.v25.2.dll

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

csharp
public class DXRibbonWindow :
    DXWindow,
    IRibbonWindow
vb
Public Class DXRibbonWindow
    Inherits DXWindow
    Implements IRibbonWindow

Remarks

Tip

This class is outdated. Use the ThemedWindow.WindowKind property to integrate the RibbonControl with a window.

A RibbonControl, when positioned at the top of the DXRibbonWindow , is consistently integrated into the window.

The following image shows a DXRibbonWindow displaying a RibbonControl, painted in Office2007 style:

When the RibbonControl.RibbonStyle property is set to Office2010, the DXRibbonWindow displays an application icon at the top left corner. You can change this icon via the inherited Icon property:

Note

The DXRibbonWindow is not designed to be used without a RibbonControl.

For more information on the DXRibbonWindow , see DXRibbonWindow.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DXRibbonWindow class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-diagram-ms-automatic-graph-layout-algorithms/CS/DXDiagram.CustomLayoutAlgorithms/MainWindow.xaml#L1

xml
<dxr:DXRibbonWindow x:Class="DXDiagram.CustomLayoutAlgorithms.MainWindow" mc:Ignorable="d" Title="MainWindow" Height="900" Width="1200"
    xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon"

wpf-spreadsheet-assign-custom-in-place-editors/CS/WpfSpreadsheet_CustomCellEditors/MainWindow.xaml#L1

xml
<dxr:DXRibbonWindow x:Class="WpfSpreadsheet_CustomCellEditors.MainWindow" mc:Ignorable="d" Title="Spreadsheet" Height="650" Width="975" dx:ThemeManager.ThemeName="Office2016Colorful"
    xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon"

wpf-spreadsheet-bind-spreadsheet-to-ms-sql-server-database/CS/WpfSpreadsheet_BindToDataSource/MainWindow.xaml#L1

xml
<dxr:DXRibbonWindow
    xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon"

wpf-spreadsheet-bind-a-worksheet-to-generic-list-or-bindinglist-data-source/CS/DataBindingToListExample/MainWindow.xaml#L1

xml
<dxr:DXRibbonWindow
    xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon"

wpf-docklayoutmanager-merge-bars-in-controls-that-support-automatic-merging/CS/WpfApplication1/MainWindow.xaml#L1

xml
<dxr:DXRibbonWindow
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

Inheritance

Show 11 items

Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control ContentControl Window DXWindow DXRibbonWindow

See Also

DXRibbonWindow Members

RibbonControl

WPF Application Themes

DevExpress.Xpf.Ribbon Namespace