wpf-devexpress-dot-xpf-dot-ribbon-4bf9b740.md
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
public class DXRibbonWindow :
DXWindow,
IRibbonWindow
Public Class DXRibbonWindow
Inherits DXWindow
Implements IRibbonWindow
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.
<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"
<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"
<dxr:DXRibbonWindow
xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon"
<dxr:DXRibbonWindow
xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon"
<dxr:DXRibbonWindow
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
Show 11 items
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control ContentControl Window DXWindow DXRibbonWindow
See Also