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

Collapse Items

1 Answer 55 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Sternico
Top achievements
Rank 1
Sternico asked on 18 Mar 2010, 03:23 PM
Hello,

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">
                <Setter.Value>
                    <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!


1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 18 Mar 2010, 03:56 PM
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,
Milan
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.
Tags
Carousel
Asked by
Sternico
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or