ModernWindowNavigateTo Method |
Navigate to a select menu item by the key path.
KeyPath is the path composite with the Key of ModernItem separated with |
Namespace:
Hummingbird.UI
Assembly:
Hummingbird.UI (in Hummingbird.UI.dll) Version: 1.1.0.0
Syntax public Task NavigateTo(
string KeyPath
)
Public Function NavigateTo (
KeyPath As String
) As Task
public:
Task^ NavigateTo(
String^ KeyPath
)
Parameters
- KeyPath
- Type: SystemString
The KeyPath of menu Items
Return Value
Type:
Taskthe Task object
Examples
Giving Menu Items MENU1 which has sub items as MENU1_1 and MENU1_2. if you want to navigate directly to MENU1_2, you can call:
NavigateTo("MENU1|MENU1_2")
See Also