Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

HamburgerMenu.ShowRevealHighlightEffect Property

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

Namespace: DevExpress.Xpf.WindowsUI

Assembly: DevExpress.Xpf.Controls.v24.2.dll

NuGet Package: DevExpress.Wpf.Controls

#Declaration

public bool ShowRevealHighlightEffect { get; set; }

#Property Value

Type Description
Boolean

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

#Remarks

The image below illustrates the effect.

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