Hello Infragistics Team,
i need To design a outlook bar with wizard style navigation.
it should navigate to next item in the current active group When I click on next button.
Can you please help me your inputs on this.
Your response at the earliest is very much appreciated.
Thanks and Regards,
Shashikanth N
Hello Shashikanth,
Thank you for contacting Infragistics. In order to navigate every instance of OutlookBarGroup you can use the GroupMoveUp and GroupMoveDown methods on the XamOutlookBar and keep track of the SelectedGroup.
An example can be found in our online documentation page: SelectedGroup property
Let me know if you have any questions.
Hi Michael,
Thanks for your prompt response. My requirement is to navigate the items present within the group when i click on button (Next/Previous).
For Example, Under There is one group which contains items like Item1, Item2,Item3. when i click on Next Button, it should navigate to next item i.e from Item1 to Item2. The Navigation should be random.
Hope this helps. Please let me know if you need more Clarity/information on this.
Shashikanth N.
I can create custom control which looks like wizard but i need navigation pane at left hand side with multiple groups which collapses/expands similar to outlook style.
This is forcing me to go for outlook bar control. If you think we can implement this navigation pane in custom control please let me know your inputs.
I recommend reviewing the following article on stack overflow. The groups don't expose a collection or property to identify which is focused.
https://stackoverflow.com/questions/15321047/change-dynamically-focusmanager-focusedelement
There is an answer that explains how you can use DataTriggers with the FocusManager to bind the elements in your group to a property in your ViewModel. From there you can wire up commands that coincide with how you control navigation to change which element is focused.
Thanks for your response.
Apart from focus approach do we have any other alternative because I need to implement through mvvm.
Do we have selected item within the group so that we can set the selected item when user clicks on next/previous button.
Also I need to customize the theme for xamoutlookbar. Can you please tell me how to implement that.
Hello Shashikanth, Thank you for following up. You need to manually track the focused item in your Content associated with each group. The XamOutlookbar does expose a method to change focus on the elements associated within each group so you need assistance I recommend reviewing the following forum post in stack overflow.
https://stackoverflow.com/questions/809382/how-to-programmatically-navigate-wpf-ui-element-tab-stops