Skip to main content

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

public WindowKind WindowKind { get; set; }

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.

WindowKind-Normal

Tabbed

Integrates the TabControl with the ThemedWindow.

WindowKind-Tabbed

Ribbon

Integrates the Ribbon Control with the ThemedWindow.

WindowKind-Ribbon

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.

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.

See Also