Version

Set the DefaultStyle to VisualStudio

By default, all WinColorPickers will be instantiated with their Style property set to ColorPalette. This will give the dropdown editor the same UI as the WinColorPalette. If the VisualStudio style is preferred, the Style property can be set on an individual WinColorPicker control basis, such as in the following code snippet:

ultraColorPicker1.Style = Infragistics.Win.UltraColorPalette.ColorPickerEditorStyle.VisualStudio;

Setting all WinColorPickers to VisualStudio style by default is also possible. This can be done by setting the static DefaultStyle property on ColorPickerEditor class, such as in the following code snippet:

Infragistics.Win.ColorPickerEditor.DefaultStyle = Infragistics.Win.UltraColorPalette.ColorPickerEditorStyle.VisualStudio;

Note that this will effect the style with which a WinColorPicker is instantiated. Therefore, if DefaultStyle is set after the WinColorPicker is instantiated, such as on an InitializeForm(), the new setting will have no effect.