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.v21.1.dll

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>
See Also