Skip to content

Latest commit

 

History

History
78 lines (65 loc) · 2.85 KB

File metadata and controls

78 lines (65 loc) · 2.85 KB

HomeUpdateLogConfigTheme

Menu

👚

A versatile menu for navigation.

  • DefaultProperty:Items
  • DefaultEvent:SelectChanged

Property

Name Description Type Default Value
ForeColor Text color Color? null
ForeActive Activate Text color Color? null
BackHover Hover background color Color? null
BackActive Activate background color Color? null
Radius Rounded corners int 6
Round Rounded corner style bool false
Indent Tree like indentation bool false
ShowSubBack Display submenu background bool false
Unique Keep only one submenu expanded bool false
Trigger Trigger dropdown behavior Trigger Click
Gap Gap int 0
IconRatio Icon Scale float 1.2F
Theme Color mode TAMode Auto
Mode Menu Type TMenuMode Inline
AutoCollapse Auto Collapse bool false
Collapsed Whether to fold or not bool false
Items Data MenuItem[] MenuItem[] []
PauseLayout Pause Layout bool false

Event

Name Description Return Value Parameters
SelectChanged Occurred when the value of the Select attribute is changed void MenuItem item

Method

Name Description Return Value Parameters
SelectIndex Select the first layer void int index, bool focus set focus = true
SelectIndex Select the second layer void int i1 index 1 , int i2 index 2, bool focus set focus = true
SelectIndex Select the third layer void int i1 index 1 , int i2 index 2 , int i3 index 3, bool focus set focus = true
Select Select menu void MenuItem item, bool focus set focus = true
Remove Remove menu void MenuItem item

Data

MenuItem

Name Description Type Default Value
ID ID string? null
Icon Icon Image? null
IconSvg Icon SVG string null
IconActive Icon activate Image? null
IconActiveSvg Icon activate SVG string null
Text Text string Required
🌏 LocalizationText International Text string? null
Font Custom Font Font? null
Visible Is it displayed bool true
Enabled Enable bool true
Select Select bool false
Expand Expand bool true
CanExpand Can it be expanded bool Read only
Sub Subset ♾️ MenuItem[] []
Tag User defined data object? null
PARENTITEM Parent object MenuItem? null