Class PopupDisplayMode
Specifies the display mode of popup for dropdown components on mobile devices.
Inheritance
System.Object
PopupDisplayMode
Namespace: Syncfusion.Blazor.DropDowns
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class PopupDisplayMode : Enum
Remarks
This enumeration controls whether the popup appears with desktop-like inline placement or fullscreen on mobile screens, as in material design.
Examples
PopupDisplayMode mode = PopupDisplayMode.Inline;
Fields
FullScreen
The popup opens in fullscreen mode on mobile devices, typically when filtering is enabled.
Declaration
public const PopupDisplayMode FullScreen
Field Value
Type | Description |
---|---|
PopupDisplayMode | Popup stretches over the entire screen to provide a larger filtering area on phones. |
Remarks
Recommended for mobile-first user experiences with intensive filtering.
Examples
PopupDisplayMode mode = PopupDisplayMode.FullScreen;
Inline
The popup opens similarly on both mobile and desktop devices, positioned above the input field and without entering fullscreen mode.
Declaration
public const PopupDisplayMode Inline
Field Value
Type | Description |
---|---|
PopupDisplayMode | Popup remains inline above the component input regardless of device type. |
Remarks
Default behavior for classic dropdown lists.
Examples
PopupDisplayMode mode = PopupDisplayMode.Inline;