Builtin TypeEditor for colors?

Discussion in 'ASP .Net Building Controls' started by Rob Mayo, Jul 14, 2003.

  1. Rob Mayo

    Rob Mayo Guest

    I'm building a server control with various color properties. Currently, each is defined as string. I'm wondering if I should actually change them to type 'Color'. What I want to happen is when the lick in the propertygrid, they get the same dialog as the would when they click on the bgcolor property of the document (page). I'll settle for the lesser color dialog (BackColor property of a panel).

    I was planning to use the EditorAttribute of my properties to mark it as using one of those editors, but I can't seem to find what the editor is called, or if there even is one.

    Does anyone know of this/these TypeEditors?
    Rob Mayo, Jul 14, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. bdb112
    Replies:
    2
    Views:
    288
    Chris Torek
    Jul 2, 2011
  2. Rob Mayo

    Using custom TypeEditor does not notify parent property

    Rob Mayo, Jul 17, 2003, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    188
    Rob Mayo
    Jul 17, 2003
  3. Rob Mayo

    Builtin TypeEditor for colors?

    Rob Mayo, Jul 14, 2003, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    106
    Rob Mayo
    Jul 14, 2003
  4. Rob Mayo

    Using custom TypeEditor does not notify parent property

    Rob Mayo, Jul 17, 2003, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    152
    Rob Mayo
    Jul 17, 2003
  5. Mythran

    TypeEditor?

    Mythran, Sep 15, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    96
    Mythran
    Sep 15, 2004
Loading...

Share This Page