ThemedWindow.WindowKind Property
Gets or sets a value that specifies the current ThemedWindow‘s operation mode. This is a dependency property.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
WindowKind | A WindowKind enumeration value. |
Available values:
Name | Description |
---|---|
Auto | Automatically defines the window type depending on the control used. |
Normal | Disables the Ribbon Control or the Tab Control integration with the ThemedWindow. |
Tabbed | Integrates the TabControl with the ThemedWindow. |
Ribbon | Integrates the Ribbon Control with the ThemedWindow. |
Remarks
The code sample below demonstrates how to set the WindowKind Ribbon value.
<dx:ThemedWindow
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
...
WindowKind="Ribbon">
...
</dx:ThemedWindow>
Note
The RibbonControl parent element’s Background
property must be set to null.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the WindowKind property.
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.