[SOLVED] Select NavigationBarItem

Answered
0
0

Hello,

installed = WiseJ Version 2.2.25.0

I use the NavigationBar with several NavigationBarItem (e.g. AAA, BBB, CCC). In the NavigationBar I would like to use the C# sources to set the focus – i.e. the selection – on a certain icon, e.g. BBB. So not interactively by the user, but via the code. this.BBB.Focus () or this.BBB.Select does not. How do I have to proceed here?

Greeting, Mathias

  • You must to post comments
Best Answer
1
0

Did you try to assign the SelectedItem property?

this.navBar1.SelectedItem = AAA;

It will select the AAA item as if the user clicked on it.

Or do you need keyboard Up/Down selection? I don’t think this is implemented in the extension.

  • You must to post comments
0
0

Hello Luca,

this.navBar1.SelectedItem = AAA; solved my problem. Many thanks.

Best regards,
Mathias

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.