Is there a property that hides the dropdown button in the xamColorPicker? I'd like to present a simple colored rectangle (a swatch) to the user. When the rectangle is clicked, the picker opens.
Hello,
I am just checking if you require any further assistance on the matter.
By default XamColorPicker does not have such kind of property. This is why I have provided you with my custom approach on how this functionality can be achieved.
If you have any other questions on this matter, feel free to ask.
Yanko, I didn't see where you originally responded to my question. I'l look at it soon and let you know. Thanks.
I am just checking, if you require any further assistance on the matter.
I have been looking into your requirement and I have created a sample application(ColorPickerDropDownButtonVisibility.zip) that demonstrates the desired functionality. In order to achieve it I have modified the default style for ‘XamColorPickerToggleBtn’. You can find it in :
C:\Program Files (x86)\Infragistics\NetAdvantage 2012.1\WPF\DefaultStyles\ColorPicker\generic.xaml
If you need any further assistance on this matter, feel free to ask.