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. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.