最佳答案
I have developed a User Control in Visual Studio (WinForms C#) and have a question.
I need the user of my User Control to be able to change certain string values and I would like them to be able to add the user control to their Form and click on it to bring up the Properties Pane where my User Control's custom properties will be displayed.
How can I have my own custom properties for my user control? For example:
My user control contains a TextBox, and I would like the user to be able to change the value of that TextBox via a property named "Text" or "Value" in the properties at Design-Time.