A RadColorSelector placed in a RadTabControl as content of an RadDropDown button flickers on first opening and shows a wrong arrangement of the color palette for a moment. Custom colors are data bound.
The attached files contain a demo application, which is a minimal sample to reproduce the problem. Due to the file upload size limitation, the referenced Telerik DLLs for the sample project are not contained.
There are short clips that show the correct behavior when there is no RadTabControl and the faulty behavior with it.
There is an application containing two drop-down buttons, with the following structure:
The colors for the RadColorSelector are generated in code and data bound. The first drop-down is for comparison and does not show the faulty behavior.
The issue is only reproducible on the first opening of the drop-down.
The color selector flickers for a noticeable short time between two arrangements of the color palette. First, it seems that all colors are placed below one another and continue in the second column of the palette when there is an overflow in vertical space. Then, the layout changes and the palette is displayed as intended. Sometimes instead of vertical misalignment, the colors are aligned correctly, but seem to pop-up one after another quickly.
The color selector displays the color palette correctly arranged each time the drop-down is opened. There is no flicker and no misarrangement in between.
Original title: "RadColorPicker should have a built in custom colour selector" I'm aware that I can add a custom colour selector to the RadColorPicker myself and an example is given in the Telerik WPF demos, but rather than having to implement this myself, I'd really expect this to be built in so I could just set a ShowCustomColors="True" flag and it'd be done. Other UI control vendors I have worked with have supported this functionality without making me do so much work.
This feature should include: 1. When focused, pressing down arrow key should open the picker, like in WORD's color picker 2. Automatic button should go into keyboard focused state when down arrow is pressed and the focus is in the split button. 3.Arrow keys should move the focus to colors in the pallete views. Space/Enter should select the current color. Feature is mixture of Keyboard logic, new Focus states in PalleteViewItems, PalleteView, ColorSelector, ColorPicker. Like in Ribbon (when keyboard navigation was implemented) some controls might need additional keyboard focused states.
Cannot edit a copy of the ColorPicker Style in Blend. Also, cannot edit the Additional ColorButtonStyle. As a workaround use an implicit style approach. You can have folder with your XAML files and edit the Style of RadColorPicker in them. http://docs.telerik.com/devtools/wpf/styling-and-appearance/styling-apperance-implicit-styles-overview