RadCarousel ReflectionSettings

6 posts, 0 answers
  1. Harri
    Harri avatar
    12 posts
    Member since:
    Oct 2012

    Posted 05 Feb 2013 Link to this post

    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.
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 05 Feb 2013 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Harri
    Harri avatar
    12 posts
    Member since:
    Oct 2012

    Posted 05 Feb 2013 Link to this post

    I have tried, no change.
  5. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 06 Feb 2013 Link to this post

    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.

  6. Harri
    Harri avatar
    12 posts
    Member since:
    Oct 2012

    Posted 06 Feb 2013 Link to this post

    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>

     

    '
  7. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 07 Feb 2013 Link to this post

    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.

Back to Top
UI for WPF is Visual Studio 2017 Ready