|
11 | 11 | <Page.Resources> |
12 | 12 | <ui:TransitionHelper x:Key="MyTransitionHelper"> |
13 | 13 | <ui:TransitionConfig Id="background" |
14 | | - ScaleMode="Scale" /> |
| 14 | + ScaleMode="Scale" /> |
15 | 15 | <ui:TransitionConfig Id="image" |
16 | | - ScaleMode="Scale" /> |
| 16 | + ScaleMode="Scale" /> |
17 | 17 | <ui:TransitionConfig Id="name" |
18 | | - ScaleMode="Custom"> |
| 18 | + ScaleMode="Custom"> |
19 | 19 | <ui:TransitionConfig.CustomScalingCalculator> |
20 | 20 | <local:CustomTextScalingCalculator /> |
21 | 21 | </ui:TransitionConfig.CustomScalingCalculator> |
22 | 22 | </ui:TransitionConfig> |
23 | 23 | <ui:TransitionConfig EnableClipAnimation="true" |
24 | | - Id="desc" /> |
| 24 | + Id="desc" /> |
25 | 25 | </ui:TransitionHelper> |
26 | 26 |
|
27 | 27 | <ImageBrush x:Key="ImageBackgroundBrush" |
|
53 | 53 | <i:Interaction.Behaviors> |
54 | 54 | <i:EventTriggerBehavior EventName="Click"> |
55 | 55 | <ui:StartTransitionAction Source="{Binding ElementName=FirstControl}" |
56 | | - Target="{Binding ElementName=SecondControl}" |
57 | | - Transition="{StaticResource MyTransitionHelper}" /> |
| 56 | + Target="{Binding ElementName=SecondControl}" |
| 57 | + Transition="{StaticResource MyTransitionHelper}" /> |
58 | 58 | </i:EventTriggerBehavior> |
59 | 59 | </i:Interaction.Behaviors> |
60 | 60 | </Button> |
|
64 | 64 | <i:Interaction.Behaviors> |
65 | 65 | <i:EventTriggerBehavior EventName="Click"> |
66 | 66 | <ui:StartTransitionAction Source="{Binding ElementName=FirstControl}" |
67 | | - Target="{Binding ElementName=ThirdControl}" |
68 | | - Transition="{StaticResource MyTransitionHelper}" /> |
| 67 | + Target="{Binding ElementName=ThirdControl}" |
| 68 | + Transition="{StaticResource MyTransitionHelper}" /> |
69 | 69 | </i:EventTriggerBehavior> |
70 | 70 | </i:Interaction.Behaviors> |
71 | 71 | </Button> |
|
110 | 110 | <i:Interaction.Behaviors> |
111 | 111 | <i:EventTriggerBehavior EventName="Click"> |
112 | 112 | <ui:StartTransitionAction Source="{Binding ElementName=SecondControl}" |
113 | | - Target="{Binding ElementName=FirstControl}" |
114 | | - Transition="{StaticResource MyTransitionHelper}" /> |
| 113 | + Target="{Binding ElementName=FirstControl}" |
| 114 | + Transition="{StaticResource MyTransitionHelper}" /> |
115 | 115 | </i:EventTriggerBehavior> |
116 | 116 | </i:Interaction.Behaviors> |
117 | 117 | </Button> |
|
121 | 121 | <i:Interaction.Behaviors> |
122 | 122 | <i:EventTriggerBehavior EventName="Click"> |
123 | 123 | <ui:StartTransitionAction Source="{Binding ElementName=SecondControl}" |
124 | | - Target="{Binding ElementName=ThirdControl}" |
125 | | - Transition="{StaticResource MyTransitionHelper}" /> |
| 124 | + Target="{Binding ElementName=ThirdControl}" |
| 125 | + Transition="{StaticResource MyTransitionHelper}" /> |
126 | 126 | </i:EventTriggerBehavior> |
127 | 127 | </i:Interaction.Behaviors> |
128 | 128 | </Button> |
|
214 | 214 | <i:Interaction.Behaviors> |
215 | 215 | <i:EventTriggerBehavior EventName="Click"> |
216 | 216 | <ui:StartTransitionAction Source="{Binding ElementName=ThirdControl}" |
217 | | - Target="{Binding ElementName=FirstControl}" |
218 | | - Transition="{StaticResource MyTransitionHelper}" /> |
| 217 | + Target="{Binding ElementName=FirstControl}" |
| 218 | + Transition="{StaticResource MyTransitionHelper}" /> |
219 | 219 | </i:EventTriggerBehavior> |
220 | 220 | </i:Interaction.Behaviors> |
221 | 221 | </Button> |
|
225 | 225 | <i:Interaction.Behaviors> |
226 | 226 | <i:EventTriggerBehavior EventName="Click"> |
227 | 227 | <ui:StartTransitionAction Source="{Binding ElementName=ThirdControl}" |
228 | | - Target="{Binding ElementName=SecondControl}" |
229 | | - Transition="{StaticResource MyTransitionHelper}" /> |
| 228 | + Target="{Binding ElementName=SecondControl}" |
| 229 | + Transition="{StaticResource MyTransitionHelper}" /> |
230 | 230 | </i:EventTriggerBehavior> |
231 | 231 | </i:Interaction.Behaviors> |
232 | 232 | </Button> |
|
0 commit comments