Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > ColorPicker > ColorPicker Button Style

Answered ColorPicker Button Style

Feed from this thread
  • Posted on Dec 8, 2010 (permalink)

    I'm tyring to use the color picker to pick background colors for a form.  The two styles I see for the button include a "A" and the color, and a "Highlight" icon.  I'd like to style the button to just show the color selected with no additional adornments.

    Suggestions?

    Thanks,
    Steve

    Reply

  • Answer Tina Stancheva Tina Stancheva admin's avatar

    Posted on Dec 13, 2010 (permalink)

    Hello Cuthahotha,

    I am not really sure how you need to style the ColorPicker, therefore I wanted to ask you to elaborate more on that or perhaps send us a snapshot of what you need. Still, I attached a sample project illustrating how you can edit the ColorButtonStyle in order to display only the SelectedColor. I hope that will help.

    Kind regards,
    Tina Stancheva
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
    Attached files

    Reply

  • Posted on Dec 14, 2010 (permalink)

    Tina, Thanks.  The project does 90% what I'm looking for.  The last little bit would be the ability to style the actual rectangle.  I can't seem to get it to widen any.  I'd like to be able to set the width to about 100 and the height to 17 to make more rectangle.  I'm not using this on a button bar, but in a bigger form.

    Reply

  • Answer Tina Stancheva Tina Stancheva admin's avatar

    Posted on Dec 20, 2010 (permalink)

    Hello Cuthahotha,

    Please accept my apology for the delayed response. In order to change the size of the button, you will need to edit the RadColorPicker style and its ToggleButton element style to reflect the required width/height. I modified the project to illustrate this approach.

    I hope this info will help.

    Best wishes,
    Tina Stancheva
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
    Attached files

    Reply

  • Posted on Dec 20, 2010 (permalink)

    Perfect.  Thank you so much!!

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > ColorPicker > ColorPicker Button Style
Related resources for "ColorPicker Button Style"

Silverlight ColorPicker Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]