How to set selected color in StandardColorPicker

SyntaxEditor for Windows Forms Forum

Posted 17 years ago by David Gentils
Version: 4.0.0260
Avatar
Does anyone know how to set the default color in a StandardColorPicker control, actually I can't seem to find it in and of the color picker controls, the SelectedColor property is read-only... Thanx

Dave

Comments (2)

Posted 17 years ago by Kelly Leahy - Software Architect, Milliman
Avatar
There doesn't appear to be a way in the version I'm using - it seems it's a user control and the 'SelectedColor' is 'get' only.

Kelly Leahy Software Architect Milliman, USA

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Correct, since it is a UserControl that has multiple tabs and any of the tabs could cause the selected color to be set, we don't provide a setter on it.

However you could navigate down through the tree of controls and select a color on the individual ColorPalettePicker or ListBox controls within those tabs. That will bubble up the change to the StandardColorPicker.


Actipro Software Support

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.