You can structure a MenuBar , a ContextMenu or a PopupMenu using Menus.
The figure below illustrates a PopupMenu with two Menus.
● enabled
Specifies whether a user can trigger an event.
● textDirection
Specifies the text direction and allows you to use subordinated UI elements for texts in languages which require a specific text direction. The textDirection property can take the following values and is represented by enumeration type WDTextDirection.
The text direction is inherited from the parent element. Therefore, the text direction is identical to the one of the parent element. |
|
The default value for this property is inherit.
● title
Describes the menu title.
● visible
Specifies whether the Menu is visible.
Name |
Interface |
Type |
Initial Value |
Bindable |
enabled |
IWDMenu |
boolean |
true |
bindable |
textDirection |
IWDMenu |
WDTextDirection |
inherit |
bindable |
title |
IWDMenu |
String |
|
bindable |
visible |
IWDMenuItem |
boolean |
true |
bindable |