none
Setup routine for the Properties of a User Control RRS feed

  • Question

  • I haven't started coding yet on user control, and I know that I can through code at startup setup a user control at run time, but I'd like to do it at design time like that can be done of DataGridView, MakedTextBox, and others I need help knowing what to ask, what to look for in finding information on the topic.

    Thanks

    Friday, May 26, 2017 10:00 AM

All replies

  • I haven't started coding yet on user control, and I know that I can through code at startup setup a user control at run time, but I'd like to do it at design time

    Atttributes are used to manage the design-time features of the properties of your user control. See:

    https://msdn.microsoft.com/en-us/library/a19191fh.aspx
    Attributes and Design-Time Support
    https://msdn.microsoft.com/en-us/library/tk67c2t8.aspx
    Design-Time Attributes for Components


    Friday, May 26, 2017 11:37 AM
  • Thank you Reed for directing me to those links. This is what I was looking for.
    Friday, May 26, 2017 7:12 PM
  • Thank you Reed for directing me to those links. This is what I was looking for.

    Acamar is the contributor who provided the links; thanks goes to him.  :)

    If your issue is resolved, can you please click the Mark as answer link at the bottom of the relevant post(s) which answered your question?

    Thanks!


    Reed Kimble - "When you do things right, people won't be sure you've done anything at all"

    Friday, May 26, 2017 7:59 PM
    Moderator