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

Possible to put transitioncontrol in border?

1 Answer 36 Views
TransitionControl
This is a migrated thread and some comments may be shown as answers.
ryan
Top achievements
Rank 1
ryan asked on 17 Sep 2010, 02:47 PM
Is it possible to put a transition control inside a border with a corner radius so that the four edges of the images are circular instead?  I tried just putting the transition contorl inside a border but the transition control appears on top of the border no matter what I do.

1 Answer, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 20 Sep 2010, 08:12 AM
Hi Ryan,

Thank you for contacting us.

From the information you have shared, I understand that you would like the images inside your TransitionControl to have rounded corners. You can easily accomplish this by setting  Image.Clip to the image in your RadTransitionControl.ContentTemplate. It will look something similar to this:

<telerik:RadTransitionControl.ContentTemplate
           <DataTemplate
               <Image Source="{Binding ImageUrl}"
                       Stretch="Uniform"
                       Width="320"
                       Height="240"
                      <Image.Clip
                          <RectangleGeometry Rect="0,0,200,200" RadiusX="4" RadiusY="4" /> 
                      </Image.Clip
               </Image>
    
           </DataTemplate
       </telerik:RadTransitionControl.ContentTemplate>


I hope this helps. If you need further assistance, please contact us again.

All the best,
Dani
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
TransitionControl
Asked by
ryan
Top achievements
Rank 1
Answers by
Dani
Telerik team
Share this question
or