C
C#17mo ago
mario12136

What control should I use?

I want to create a "feature search" command palette for my WPF application (like the one in Visual Studio). I have 1 main view model from which I want to serve commands using reflection to my command palette. I have tried making the command palette a wpf Window and have its own view model but I was wondering if there is some control that makes more sense and that would make my life easier. Some requirements: - I want the control to be hidden rather than having to close and restart it again - When I click outside its borders I want it to be hidden again - I want to be able to press Escape and it becomes hidden again - I want to execute a command AND hide the control. Doing this has proven tricky with a Window control I was also wondering if I should use an ItemsControl or a ListBox to show the list of available commands. I want as I am typing in the searchbox for the first item to be selected and if I press up/down I go to the next or previous item.
10 Replies
Denis
Denis17mo ago
Radial menu, or palette menu. E.g., one note used it for touch devices to provide users common text editor tools - center, font size, bold, etc.
Denis
Denis17mo ago
GrapeCity Developer Solutions
RadialMenu: Create a Radial Menu Control in Your WPF App | Componen...
RadialMenu: Similar to OneNote menu, radial menu control for WPF apps. A striking alternative to standard menus and toolbars. See more from ComponentOne today.
Denis
Denis17mo ago
Syncfusion
WPF Radial Menu control | Circular Context Menu | Syncfusion
The WPF radial menu control displays the hierarchy of menu items in a circular layout. It supports nested items, data binding, dragging, etc.
Denis
Denis17mo ago
Fyi, syncfusion offers a free community license for open source projects
Denis
Denis17mo ago
GitHub
GitHub - Julien-Marcou/RadialMenu: A WPF RadialMenu
A WPF RadialMenu. Contribute to Julien-Marcou/RadialMenu development by creating an account on GitHub.
Denis
Denis17mo ago
Here's an open source project
mario12136
mario12136OP17mo ago
@Denis Thanks for the response. I am looking to create something like Visual Studio's feature search in design (almost identical to it). I checked the radial menu but it is not exactly what I am after.
Denis
Denis17mo ago
What is search in design
mario12136
mario12136OP17mo ago
I want to make something identical to Visual Studio's "Feature Search" in visual design
Want results from more Discord servers?
Add your server