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

Image for collapsed Chunks

3 Answers 73 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Kathleen
Top achievements
Rank 1
Kathleen asked on 17 Feb 2007, 12:00 AM
WHen the ribbon resized down, the chunks are collapsed, but accessilble via a drop down button. In Word, etc, there is an image as well as the text. How do you enter an image to be shown when collapsed on a RadRibbonBarChunk?

3 Answers, 1 is accepted

Sort by
0
Dimitar Kapitanov
Telerik team
answered on 20 Feb 2007, 08:33 AM
Hello Kathleen,

Currently there is no specialized property (implemented in the Chunk or RibbonBar) that allows easy way of setting the image for a collapsed chunk.

We developed a simple code that enables you to change the required image with our current release of controls.That can be done using code similar to this:

ClassSelector selector = new ClassSelector("GroupDropDownButtonBorder");  
            RadRibbonBarChunk chunk = (RadRibbonBarChunk)this.radRibbonBar1.CommandTabs[0].Items[3];  
            RadDropDownButtonElement dropDownButtonElement =  
                (RadDropDownButtonElement)selector.GetSelectedElements(chunk)[0].Parent;  
            dropDownButtonElement.Image = Properties.Resources.Email; 

This code could be executed for example while the form is loading (in its load event handler).
A property for setting the image for a collapsed chunk will be added in our  Q1 2007 release.

Best wishes,
Dimitar Kapitanov
the telerik team
0
Kathleen
Top achievements
Rank 1
answered on 20 Feb 2007, 02:57 PM
Very cool on the work around and very cool on the future property.

Is there an ETA for the Q1 release. Knowing it will be Q1 is helpful.
0
Mike
Telerik team
answered on 20 Feb 2007, 03:40 PM
Hi Kathleen,

Thank you for the feedback. We are trying to be very transparent about our development plans and release schedule. We soon started the WinForms controls roadmap, and it will be updated correspondingly. We expect the Q1 release at the end of April.

Sincerely yours,
Mike
the telerik team
Tags
RibbonBar
Asked by
Kathleen
Top achievements
Rank 1
Answers by
Dimitar Kapitanov
Telerik team
Kathleen
Top achievements
Rank 1
Mike
Telerik team
Share this question
or