This is a migrated thread and some comments may be shown as answers.

Combining RadColorPicker and RadRibbonDropDownButton

1 Answer 64 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
Lasse
Top achievements
Rank 1
Lasse asked on 23 Jun 2014, 10:24 AM
I'd like to use the RadColorPicker for a RadRibbon. The
button itself should appear as a large
dropdown button in the ribbon.

I can't seem to get the color picer to appear as a large
dropdownbutton. I tried the following two approaches which doesn't succeed.

How do I get the colorpicker to appear as a RadRibbonDropDownButton
with the property Size="Large"?

<telerik:RadRibbonGroup Header="Test">
                    <!-- Combine RadRibbonDropDown and RadColorPicker? -->
                    <telerik:RadRibbonDropDownButton LargeImage="/Images/Icons/32/CellBoxBorder.png" Size="Large" Text="Color Picker">
                        <telerik:RadRibbonDropDownButton.DropDownContent>
                            <telerik:RadColorPicker HeaderPalette="Office" AutomaticColor="White" />
                        </telerik:RadRibbonDropDownButton.DropDownContent>
                    </telerik:RadRibbonDropDownButton>
                    <!-- Or use RadColorPicker directly? -->
                    <telerik:RadColorPicker HeaderPalette="Office" AutomaticColor="White" />
                </telerik:RadRibbonGroup>

1 Answer, 1 is accepted

Sort by
0
Lasse
Top achievements
Rank 1
answered on 23 Jun 2014, 05:20 PM
Turned out I need to use the RadColorSelector control. Subtle but important difference.
Tags
ColorPicker
Asked by
Lasse
Top achievements
Rank 1
Answers by
Lasse
Top achievements
Rank 1
Share this question
or