Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

MenuGroup.KeepExpandedOnClick Property

Gets or sets a value indicating if a submenu should be kept expanded when user clicks on one of the menu items in the submenu.

[Visual Basic]
Public Property KeepExpandedOnClick As NullableBool
[C#]
public NullableBool KeepExpandedOnClick {get; set;}

Property Value

NullableBool

The Boolean value object that indicates if a menu group should be kept expanded when user clicks on a menu item.

This property is read/write.

Remarks

By default, when user clicks on a menu item in an expanded submenu, the submenu will collapse automatically. Setting this property to true to specify the submenu to keep expanded when user clicks on the menu item.

This property is useful when you have a deep menu and do not want user to navigate to the deep level again if he/she clicks on a menu item.

Tip:  There are three events that may trigger a submenu to collapse:

  • When a menu item is clicked;
  • When mouse moves or is clicked outside of the menu;
  • When another submenu expands;
Setting this property to true only causes the submenu not to collapse on the first event. The submenu still collapses when the other two events happen.

See Also

MenuGroup Class | EO.Web Namespace


Direct link to this topic