NeVeSpl / RevitDBExplorer

Interactive Revit database exploration tool to view and edit BIM element parameters, properties and relationships.
Apache License 2.0
179 stars 40 forks source link

ability to navigate forward and backward using XButton1 and XButton2 … #26

Closed mostafa901 closed 4 months ago

mostafa901 commented 4 months ago

I see it would be a great feature if we can make the navigation between workspaces, using mouse buttons can be more convenient than moving and hovering the mouse to switch tabs.

For easy reference see how that looks

navigatebymouse

NeVeSpl commented 4 months ago

I like the idea, from the beginning, the goal of RDBE was to provide "an internet browser" like experience, and this is a step in that direction.

But, you have chosen very peculiar places to place the code.

The added code from here TextBoxWithPlaceholder.xaml.cs should be located in MainWindow.xaml.cs, and what you have added to MainWindow.xaml.cs should be placed in WorkspacesViewModel.cs.

mostafa901 commented 4 months ago

Thanks for the feedback! I have made the necessary adjustments, and committed the changes. What you explained is correct and makes more scene.