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

radcarousel wpf remove border around linked image

5 Answers 129 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Edwin
Top achievements
Rank 1
Edwin asked on 25 Feb 2011, 03:42 AM
How can i remove the border around the linked image.

5 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 25 Feb 2011, 07:31 AM
Hi Edwin,

Are you referring to the border that is displayed around all carousel items?


All the best,
Milan
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Edwin
Top achievements
Rank 1
answered on 25 Feb 2011, 07:36 AM
yes
0
Milan
Telerik team
answered on 25 Feb 2011, 02:31 PM

Hello Edwin,

You can remove it by redefining the CarouselItem template as demonstrated here:

<Style TargetType="telerik:CarouselItem">
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate TargetType="telerik:CarouselItem">
                <Grid>
                    <ContentPresenter Content="{TemplateBinding Content}" 
                                      ContentTemplate="{TemplateBinding ContentTemplate}"/>
                </Grid>
            </ControlTemplate>
        </Setter.Value>
    </Setter>
</Style>



All the best,
Milan
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Dale
Top achievements
Rank 1
answered on 01 May 2011, 03:09 PM
I made the change you suggested to remove the border, but now I've lost the image reflection.  How do I just remove the border only and leave the rest of the styling in place?
0
Vanya Pavlova
Telerik team
answered on 02 May 2011, 07:38 AM
Hi Dale,

 

In this case you have to edit the template of CarouselItem and modify the Border from there, please refer to the attached picture.  


You may find attached sample project that demonstrates how this can be achieved. 


Best wishes,
Vanya Pavlova
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
Edwin
Top achievements
Rank 1
Answers by
Milan
Telerik team
Edwin
Top achievements
Rank 1
Dale
Top achievements
Rank 1
Vanya Pavlova
Telerik team
Share this question
or