Skip to content

MMenuPanelStyle

Stanislav Podolia edited this page Jul 21, 2020 · 4 revisions

Flow Wiki

MMenuPanelStyle

MMenuPanelItems ::= MDropDownMenu, MMenu, MDropDown, MTextButton, MIconButton, MSeparator;

  • MMenuPanelBackground

  • MElevation
    Elevation on focus (8. by default)

  • MBackgroundStyle
    Background style of the popup

  • MHeight

    • height : double
  • MBorders

    • borders : double
  • TScrollCropByContent

  • TExpandOnHover

    • expand : bool
  • MComponentGroupState

  • AccessRole

  • AccessDescription

  • AccessKbdShortcutString

  • AccessSelectable

  • AccessCallback

  • AccessChildSelected

  • AccessFocused

  • AccessState

      * **FAccessTabindex**<br />
      	* **tabindex** : [Transform](Transform)\<int\><br />
    
      * **FAccessEnabled**<br />
      	* **enabled** : [Transform](Transform)\<bool\><br />
    
      * **FAccessAttribute**<br />
      	* **name** : string<br />
      	* **value** : [Transform](Transform)\<string\><br />
    
      * **FAccessStyle**<br />
      	* **name** : string<br />
      	* **value** : [Transform](Transform)\<string\><br />
    
      * **FAccessTabOrder**<br />
      	* **tabOrder** : [Transform](Transform)\<\[ int \]\><br />
    
      * **FAccessZorder**<br />
      	* **zOrder** : [Transform](Transform)\<int\><br />
    
      * **FAccessVisible**<br />
      	* **visible** : [Transform](Transform)\<bool\><br />
    
  • TagName

  • LangAttribute

    • MEnabled
      Disables inner clickable materials in most of the components

    • MFocusEnabled
      Enable or disable shortcuts and keys for focus, theme changer and feedback snapshots.

    • MClickEnabled
      Disable any mouse interaction without making component disabled

    • MKeysEnabled
      Disable any keyboard interaction without making component disabled

    • IScriptBehaviour

    • MFocusName

      • name : string
    • MActive

      • active : DynamicBehaviour<bool>
    • MChildActive
      Is there any child being focused, hovered or pressed (i.e. interacted by user)

      • active : DynamicBehaviour<bool>
    • MFocusId
      Set MFocus id which acts also as taborder inside parent MFocusGroup
      Components with same MFocusId inside same parent can cause problems

    • MFocused
      Shows is this component focused
      Also allows to set focus

      • focused : DynamicBehaviour<bool>
    • IScriptId

      • id : string
    • IScriptRecordingEnabled

    • MFocusVertical
      Switch focus using up and down arrows

      • vertical : bool
    • MFocusHorizontal
      Switch focus using left and right arrows

      • horizontal : bool
    • MZorder

    • MHintMarkerEnabled
      Shows pulsing circle around some clickable elements. The circle will disappear on hover or after click on the element.
      False by default.

    • MaterialTheme

      • palette : MaterialPalette
      • shape : MaterialShapeManager
      • type : MaterialFontManager
      • enableAnimations : bool
      • enableRipple : bool
    • MLightBackground
      Change material dark/light theme

      • light : bool
    • MGetParent

      • parent : DynamicBehaviour<Maybe<MFocusGroup>>
    • MSetParent

    • UpdateMaterialTheme
      Create new MaterialTheme from the parent's one

      • fn : (MaterialTheme) -> MaterialTheme
  • SetRTL

    • MScrollInfo
      • position : DynamicBehaviour<Point>
      • contentWH : Transform<WidthHeight>
      • enabled : Transform<bool>
      • scrollToFocusEnabled : Transform<bool>
  • THovering

Clone this wiki locally