Version

ActivateOnHover Property

Sets or Gets a boolean value that defines whether the control will gain focus on hover. When ActivateOnHover is true (Default), the menu keeps track of currently focused element. Once the menu is hovered over it takes focus and expands. Keyboard navigation is also possible at this point. If none of the menu items is clicked mouse is moved out of the menu (unhover) the menu collapses and returns the focus to the previously focused element. If the menu is clicked after expanding, when the mouse is moved out, the menu collapses and the focus goes to the body of the page. When ActivateOnHover is false, the top level menu items are only highlighted on hover - without expanding. A mouse click or tabbing in is required to set the focus on the menu and expand the first level submenu, then keyboard navigation becomes possible. When the mouse is moved away from the menu (unhover) the menu stays opened until the user clicks outside of it or hits the Esc key.
Syntax
'Declaration
 
Public Property ActivateOnHover As Boolean
public bool ActivateOnHover {get; set;}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also