alexa
menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class DisplayMode

    Defines constants that specify how the drawer is shown in a NavigationDrawer.

    Inheritance
    System.Object
    DisplayMode
    Namespace: Syncfusion.UI.Xaml.NavigationDrawer
    Assembly: Syncfusion.SfNavigationDrawer.WPF.dll
    Syntax
    public sealed class DisplayMode : Enum

    Fields

    Compact

    A drawer always shows as a narrow bar based on CompactModeWidth property which can be opened to full width. When expanded the drawer appears as an overlay above the content.

    Declaration
    public const DisplayMode Compact
    Field Value
    Type
    DisplayMode

    Default

    Displays the drawer when IsOpen property is true and gets hidden when IsOpen property is false.

    Declaration
    public const DisplayMode Default
    Field Value
    Type
    DisplayMode

    Expanded

    A drawer stays open alongside of the content to the width of ExpandedModeWidth property.

    Declaration
    public const DisplayMode Expanded
    Field Value
    Type
    DisplayMode
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved