All docs
V20.1
20.1
19.2
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.

HamburgerMenu.ShowRevealHighlightEffect Property

Specifies whether to add the Reveal Highlight effect to the menu.

Namespace: DevExpress.Xpf.WindowsUI

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

Declaration

public bool ShowRevealHighlightEffect { get; set; }
Public Property ShowRevealHighlightEffect As Boolean

Property Value

Type Description
Boolean

true, to add the Reveal Highlight effect to the menu; otherwise, false.

Remarks

The image below illustrates the effect.

Hamburger Reveal Highlight

When the effect is enabled, define a template for the HamburgerMenuNavigationButton and set the ShowSelectionIndicator property to true to indicate the current selection. See the example below.

     <Window.Resources>
        <DataTemplate x:Key="HamburgerMenuItemTemplate" DataType="{x:Type ViewModel:MainViewModel}">
            <dxwui:HamburgerMenuNavigationButton 
                Content="{Binding Caption}" 
                NavigationTargetTypeName="{Binding PageName}" 
                ShowSelectionIndicator="True"/>
        </DataTemplate>
    </Window.Resources>
    <dxwui:HamburgerMenu ItemTemplate="{StaticResource HamburgerMenuItemTemplate}"
                         ShowRevealHighlightEffect="True">
    </dxwui:HamburgerMenu>
See Also