I need a valid example or tutorial about creating an UserControl derived from ParentControlDesigner #11405
Unanswered
AlessandroMenchiniTmaxLab
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone.
I would need some help with the following scenario: I am using windows forms with .net 8.0 and visual studio 2022 17.9.7, I would like to create a UserControl with internal controls and a workspace that behaves like a panel, that is, that allows "design-time" to add other controls inside the workspace of my UserControl.
I was unable to find a working example. The only resources I found on Microsoft documentation are related to the use of ParentControlDesigner, but even using this approach, I often see that the internal controls of my UserControl change size incorrectly at "design-time". (I have fixed them inside my UserControl using "Anchors").
I understand that I may not have developed my UserControl well, but, wanting to implement it in an appropriate way, I do not understand if there is a reference guide that covers these cases or examples.
Therefore, I have no choice but to ask for information here, hoping it is the appropriate channel.
Thank you all for any support.
Regards
Alessandro Menchini
Beta Was this translation helpful? Give feedback.
All reactions