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!
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!