All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

HamburgerSubMenuThemeSelectorBehavior.PreviewThemeNames Property

Gets or sets themes that the HamburgerSubMenuThemeSelectorBehavior should display in the HamburgerSubMenu preview. This is a dependency property.

Namespace: DevExpress.Xpf.WindowsUI

Assembly: DevExpress.Xpf.Controls.v21.1.dll

Declaration

public string PreviewThemeNames { get; set; }

Property Value

Type Description
String

Themes that the HamburgerSubMenuThemeSelectorBehavior should display in the HamburgerSubMenu preview.

Remarks

You can pass theme names to the PreviewThemeNames property to display themes in the HamburgerSubMenu preview. If you specify multiple themes, separate each theme with comma.

The following code sample displays VS2017Light, VS2017Dark, Office2019White, and Office2019HighContrast themes in the HamburgerSubMenu preview:

<Window ...
    xmlns:dxwui="http://schemas.devexpress.com/winfx/2008/xaml/windowsui"
    xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm">
    <Grid>
        <dxwui:HamburgerMenu>
            <dxwui:HamburgerSubMenu>
                <dxmvvm:Interaction.Behaviors>
                    <dxwui:HamburgerSubMenuThemeSelectorBehavior PreviewThemeNames="VS2017Light,VS2017Dark,Office2019White,Office2019HighContrast"/>
                </dxmvvm:Interaction.Behaviors>
            </dxwui:HamburgerSubMenu>
        </dxwui:HamburgerMenu>
    </Grid>
</Window>

DevExpress HamburgerSubMenu | HamburgerSubMenuThemeSelectorBehavior PreviewThemeNames

See Also