© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•7mo ago•
8 replies
danailgdimitrov

Properties search bar for WinForms

I'm trying to make a VSIX which will make the WinForms properties window select the first match of whatever's written in a text box.

I'm kinda struggling since I'm pretty new to C# and I can't find my way around the docs yet.

From what I've gathered so far—I get the impression that I should use services?

I've tried accessing services using VS.Shell.Package, but most came back as null, so maybe I should use VS.Shell.ServiceProvider? I don't know how to get an instance of that class though...

Thought I'd ask here, my questions so far are:
- Is this possible?
- If so, how can I actually get an instance of this ServiceProvider class which actually works?
- If I get ServiceProvider, what's my next step?

(why does WPF have a search bar for this, but WinForms doesn't?)
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Text Search - Winforms
C#CC# / help
4y ago
❔ WinForms WebView2 pop up window exposes task bar issue
C#CC# / help
3y ago
✅ Creating a Search Bar for an app in Visual Studios
C#CC# / help
2y ago