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

FadeTransition zooms

5 Answers 44 Views
TransitionControl
This is a migrated thread and some comments may be shown as answers.
Jerome
Top achievements
Rank 1
Jerome asked on 13 Nov 2012, 05:36 AM
I've got a FadeTransition set up, with some not too complicated content, which is simply supposed to fade. Instead, it zooms the content in, and then fades. It's like it's taking a snapshot of the old content at the wrong size or something. I can't quite reproduce it outside of the project I'm working on. As soon as the Content is changed, the transition control zooms in on the text, and then fade/zooms it. How do I make this simply a fade, without a zoom?

<telerik:RadTransitionControl
    Duration="0:0:1"
    Content="{TemplateBinding CurrentThreshold}">
    <telerik:RadTransitionControl.Transition>
        <telerik:FadeTransition />
    </telerik:RadTransitionControl.Transition>
    <telerik:RadTransitionControl.ContentTemplate>
        <DataTemplate
            DataType="{x:Type local:ServiceLevelThreshold}">
            <Grid>
                <Rectangle
                    Opacity=".75"
                    Fill="{Binding Background}" />
                <TextBlock
                    Margin="4"
                    Foreground="{Binding Foreground}"
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center"
                    Style="{StaticResource ServiceLevelBlockContentTextBlock}"
                    Text="{Binding Value, RelativeSource={RelativeSource AncestorType={x:Type local:ServiceLevelBlock}}}"
                    FontSize="30" />
 
            </Grid>
        </DataTemplate>
    </telerik:RadTransitionControl.ContentTemplate>
</telerik:RadTransitionControl>

5 Answers, 1 is accepted

Sort by
0
Jerome
Top achievements
Rank 1
answered on 13 Nov 2012, 06:07 AM
Nevermind. Problem solved.
0
Brian Pratt
Top achievements
Rank 1
answered on 07 Mar 2014, 02:15 PM
Would you like to share how you solved this?  I'm having this problem too.
0
Vladi
Telerik team
answered on 12 Mar 2014, 09:11 AM
Hello,

As this thread is a very old one since that version of RadTransitionControl there have been many changes to it and its features. In the current version of the control the described zooming issue when the FadeTransition is used is not present.

I created a sample project that shows that no unexpected behavior is observed in the described scenario. You can find the sample project attached to my response. Could you try to reproduce the issue in that sample project and send it back to us in a new support thread.

Regards,
Vladi
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
0
Brian Pratt
Top achievements
Rank 1
answered on 12 Mar 2014, 11:51 AM
I continued in this thread:

http://www.telerik.com/forums/transitioncontrol-in-a-viewbox-strange-behavior

The only thing I did was add a ViewBox around the transition, and got the zooming.
0
Vladi
Telerik team
answered on 13 Mar 2014, 08:38 AM
Hello,

Thank you for giving us the additional details in that thread.

Could we continue the discussion there.

Regards,
Vladi
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
Tags
TransitionControl
Asked by
Jerome
Top achievements
Rank 1
Answers by
Jerome
Top achievements
Rank 1
Brian Pratt
Top achievements
Rank 1
Vladi
Telerik team
Share this question
or