Back to Devexpress

OptionsAdaptiveLayout.InlineModeThreshold Property

windowsforms-devexpress-dot-xtrabars-dot-fluentdesignsystem-dot-optionsadaptivelayout.md

latest2.5 KB
Original Source

OptionsAdaptiveLayout.InlineModeThreshold Property

Gets or sets the form’s width, in pixels, at which the menu’s display mode is switched between Inline and Overlay modes.

Namespace : DevExpress.XtraBars.FluentDesignSystem

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(650)]
public int InlineModeThreshold { get; set; }
vb
<DefaultValue(650)>
Public Property InlineModeThreshold As Integer

Property Value

TypeDefaultDescription
Int32650

The form’s width at which the menu’s display mode is switched between Inline and Overlay modes.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to InlineModeThreshold
FluentDesignForm

.OptionsAdaptiveLayout .InlineModeThreshold

|

Remarks

The Fluent Design Form activates the Inline , Overlay or Minimal display mode (see AccordionOptionsHamburgerMenu.DisplayMode) for the embedded Hamburger Menu when the form width belongs to one of the following ranges:

  • Inline mode - the form’s width is greater than InlineModeThreshold.
  • Overlay mode - the form’s width is between OverlayModeThreshold and InlineModeThreshold.
  • Minimal mode - the form’s width is less than OverlayModeThreshold.

See Fluent Design Form to learn more.

See Also

OptionsAdaptiveLayout Class

OptionsAdaptiveLayout Members

DevExpress.XtraBars.FluentDesignSystem Namespace