PropertyGrid and DropDownList

2 posts, 0 answers
  1. Gosha
    Gosha avatar
    36 posts
    Member since:
    Aug 2010

    Posted 11 Mar 2014 Link to this post

    Is there a simple way to fill DropDownList with data from database instead of enum?

    I've seen examples with "EditorInitialized" but that is too incomprehensible for me and to messy form my code.
    I'am not real programmer and jusing only simple things, Is there something like this:

    Dim x As New PropertyStoreItem(GetType(Something), "Status", Nothing, "Status", "", False)
    Something.DataSource = linqquery

  2. Dimitar
    Dimitar avatar
    2790 posts

    Posted 13 Mar 2014 Link to this post

    Hi Sasa,

    Thank you for contacting us.

    There is no easy way to achieve the desired functionality. Nevertheless you can consider to use the appropriate events to change the editor behaviour. More information about this is available in the following help section: Editors.

    I hope this helps. Should you have any other questions do not hesitate to ask.


    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

Back to Top