Collapse Items

2 posts, 0 answers
  1. Sternico
    Sternico avatar
    25 posts
    Member since:
    Sep 2009

    Posted 18 Mar 2010 Link to this post


    I'm using the Carousel-control and need to collapse items in depency of some conditions. So I've tried to bind the Visibility-property of the item to a property of the corresponding object/viewmodel:

    <Style TargetType="telerik:CarouselItem">
                <Setter Property="Template">
                        <ControlTemplate TargetType="telerik:CarouselItem">
                            <Grid ToolTip="{Binding Name}" Visibility="{Binding Visibility}">

    The result is, that the item is hided but not collapsed, although I set the property to collapsed.

    Is there a possibility to collapse items?

    Thank you!

  2. Milan
    Milan avatar
    1989 posts

    Posted 18 Mar 2010 Link to this post

    Hi Sternico,

    Could you please give us more details about your scenario - I just want to make sure that I do understand what you are trying to achieve? My guess is that the expectation is that whenever a CarouselItem is collapsed a new item will be placed on its location to fill the gap.

    Kind regards,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top