Image for collapsed Chunks

4 posts, 0 answers
  1. Kathleen
    Kathleen avatar
    19 posts
    Member since:
    Feb 2007

    Posted 16 Feb 2007 Link to this post

    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?
  2. Dimitar Kapitanov
    Admin
    Dimitar Kapitanov avatar
    632 posts

    Posted 20 Feb 2007 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Kathleen
    Kathleen avatar
    19 posts
    Member since:
    Feb 2007

    Posted 20 Feb 2007 Link to this post

    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.
  5. Mike
    Admin
    Mike avatar
    640 posts

    Posted 20 Feb 2007 Link to this post

    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
Back to Top