Hi,I'm a new of infragistics.Now I have an issue that needs to modify the UI layout of the program. The original design of the program used ExploreBar.
Now I want to modify the layout of the items in ExploreBar so that they are arranged horizontally. How can I achieve this?
Changing the style of items in groups will change their orientation.
The default style will arrange them horizontally. Actually, from all styles, only the label style will put them in vertical order. In case your group consist of separators, you can adjust the separator orientation by setting its property as follows:
this.ultraExplorerBar1.ItemSettings.SeparatorStyle = Infragistics.Win.UltraWinExplorerBar.SeparatorStyle.Horizontal;
Should you have any further questions, please let me know.
Sincerely,Tihomir TonevAssociate Software DeveloperInfragistics
Thank you very much for your reply,
I made changes as you said, but Items in ExploreBar are still vertically distributed.
The horizontal alignment will only work if the group style is set to small or large images. In case there is text, the elements will align vertically due to the unknown length of the text.
If you would like to have both image and text, you can use Draw Filter and reshape the look of the elements. If this is the case, I have prepared a sample for you that can serve as a starting point. Please refer to the attached solution.
An alternative approach would be set the group's style to ConrolContainer, which will allow you to modify the interface of the group entirely. More about this feature can be read on our website.
I have prepared a sample with the above method for further reference.
Please let me know if you have any other questions.