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

RadCarousel ReflectionSettings

5 Answers 84 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Harri
Top achievements
Rank 1
Harri asked on 05 Feb 2013, 11:01 AM
Hi,

I defined reflection setting for RadCarousel  as follows:

'

 

 

 

<telerik:RadCarousel.ReflectionSettings>

 

 

 

 

<telerik:ReflectionSettings Angle="10"

 

 

 

HeightOffset="6"

 

 

 

HiddenPercentage="0.2"

 

 

 

Opacity="1"

 

 

 

Visibility="Visible" />

 

 

 

 

</telerik:RadCarousel.ReflectionSettings>

 

'
It has no effect on the display. Is it supposed to work only in certain cases? my ItemTemplate is an image. that should work?

thanks;

Harri.

5 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 05 Feb 2013, 01:03 PM
Hi Harri,

Have you tried to set this property for the CarouselItem directly? You could set it through a simple style.

<Style TargetType="{x:Type telerik:CarouselItem}">
   <Setter Property="telerik:RadCarousel.ReflectionSettings" >
       <Setter.Value>
           <telerik:ReflectionSettings ... />
       </Setter.Value>
   </Setter>
</Style>

Regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Harri
Top achievements
Rank 1
answered on 05 Feb 2013, 01:27 PM
I have tried, no change.
0
Dimitrina
Telerik team
answered on 06 Feb 2013, 07:51 AM
Hello,

Have you checked our Carousel Reflection WPF Demo? It works fine there.

Regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Harri
Top achievements
Rank 1
answered on 06 Feb 2013, 09:43 AM
I saw teh demo.

I do not know how it does not work for me, I try the simplest Template and Reflection:

'

<

 

 

Style TargetType="{x:Type telerik:CarouselItem}">

 

 

 

 

<Setter Property="Template">

 

 

 

 

<Setter.Value>

 

 

 

 

<ControlTemplate TargetType="{x:Type telerik:CarouselItem}">

 

 

 

 

<Rectangle Fill="Aqua" Width="100" Height="100" ></Rectangle>

 

 

 

 

</ControlTemplate>

 

 

 

 

</Setter.Value>

 

 

 

 

</Setter>

 

 

 

 

<Setter Property="telerik:RadCarousel.ReflectionSettings" >

 

 

 

 

<Setter.Value>

 

 

 

 

<telerik:ReflectionSettings

 

 

 

HiddenPercentage="0.1"

 

 

 

Opacity="1"

 

 

 

Visibility="Visible" />

 

 

 

 

</Setter.Value>

 

 

 

 

</Setter>

 

 

 

 

</Style>

 

'
0
Dimitrina
Telerik team
answered on 07 Feb 2013, 11:25 AM
Hello,

Do you use the latest assemblies? If so, then may I ask you to send me a demo project so that I can check the case? 

Kind regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Carousel
Asked by
Harri
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Harri
Top achievements
Rank 1
Share this question
or