Closed
Description
What's the Problem?
In the SidebarControl.xaml.cs file, all the right-tap methods have a lot of variables specific to the current item (IsLocationItem, ShowProperties etc. ) that often repeat or are based on comparing item text, which decreases its flexibility and increases the size of the class code.
Solution/Idea
We could move these variables from sidebar methods to items directly.
After that every item will store text, icon ect. but also which context menu options will be shown in context menu.
Alternatives
N/A
Priorities
Capability | Priority |
---|---|
This proposal will allow developers to make future changes to sidebar items easier | Should |
This proposal will allow to reduce code behind size | Must |
Files Version
No response
Windows Version
No response
Comments
No response
Metadata
Metadata
Assignees
Labels
No labels