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

Stretch control

1 Answer 68 Views
TransitionControl
This is a migrated thread and some comments may be shown as answers.
Ludwig
Top achievements
Rank 1
Ludwig asked on 24 Feb 2011, 09:08 PM
I'm using the RadTransitionControl in my PRISM application:

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />            
        </Grid.RowDefinitions>

        <Grid Grid.Row="0">
           ...         </Grid>

        <Grid Grid.Row="1">
            <ItemsControl>
                <telerik:RadTransitionControl cal:RegionManager.RegionName="{x:Static Environment:RegionNames.MainContentRegion}">
                    <telerik:RadTransitionControl.Transition>
                        <TransitionEffects:PerspectiveRotationTransition />
                    </telerik:RadTransitionControl.Transition>
                    <telerik:RadTransitionControl.Easing>
                        <PowerEase EasingMode="EaseOut" Power="9" />
                    </telerik:RadTransitionControl.Easing>
                </telerik:RadTransitionControl>
            </ItemsControl>
        </Grid>

        <Grid Grid.Row="2">
            ...
        </Grid>
    </Grid>

The problem is that the view that is put into the MainContentRegion doesn't stretch vertically in its parent container. How can I make sure that the control that is put in MainContentRegion has the same height as the parent grid?




1 Answer, 1 is accepted

Sort by
0
Ludwig
Top achievements
Rank 1
answered on 24 Feb 2011, 09:58 PM
Found it...

        <Grid Grid.Row="1">                        
            
            <telerik:RadTransitionControl cal:RegionManager.RegionName="{x:Static Environment:RegionNames.MainContentRegion}">                   
                <telerik:RadTransitionControl.Transition>
                    <TransitionEffects:PerspectiveRotationTransition />
                </telerik:RadTransitionControl.Transition>
                <telerik:RadTransitionControl.Easing>
                    <PowerEase EasingMode="EaseOut" Power="9" />
                </telerik:RadTransitionControl.Easing>
            </telerik:RadTransitionControl>
             
        </Grid>
Tags
TransitionControl
Asked by
Ludwig
Top achievements
Rank 1
Answers by
Ludwig
Top achievements
Rank 1
Share this question
or