|
3 | 3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 | 4 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
5 | 5 | xmlns:i="using:Microsoft.Xaml.Interactivity" |
6 | | - xmlns:ic="using:Microsoft.Xaml.Interactions.Core" |
7 | 6 | xmlns:labs="using:CommunityToolkit.Labs.WinUI" |
8 | 7 | xmlns:local="using:TransitionHelperExperiment.Samples" |
9 | 8 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
52 | 51 | Content="" |
53 | 52 | Style="{StaticResource NavigationBackButtonNormalStyle}"> |
54 | 53 | <i:Interaction.Behaviors> |
55 | | - <ic:EventTriggerBehavior EventName="Click"> |
| 54 | + <i:EventTriggerBehavior EventName="Click"> |
56 | 55 | <labs:StartTransitionAction Source="{Binding ElementName=FirstControl}" |
57 | 56 | Target="{Binding ElementName=SecondControl}" |
58 | 57 | Transition="{StaticResource MyTransitionHelper}" /> |
59 | | - </ic:EventTriggerBehavior> |
| 58 | + </i:EventTriggerBehavior> |
60 | 59 | </i:Interaction.Behaviors> |
61 | 60 | </Button> |
62 | 61 | <Button x:Name="MinToMaxButton" |
63 | 62 | Content="" |
64 | 63 | Style="{StaticResource NavigationBackButtonNormalStyle}"> |
65 | 64 | <i:Interaction.Behaviors> |
66 | | - <ic:EventTriggerBehavior EventName="Click"> |
| 65 | + <i:EventTriggerBehavior EventName="Click"> |
67 | 66 | <labs:StartTransitionAction Source="{Binding ElementName=FirstControl}" |
68 | 67 | Target="{Binding ElementName=ThirdControl}" |
69 | 68 | Transition="{StaticResource MyTransitionHelper}" /> |
70 | | - </ic:EventTriggerBehavior> |
| 69 | + </i:EventTriggerBehavior> |
71 | 70 | </i:Interaction.Behaviors> |
72 | 71 | </Button> |
73 | 72 | </StackPanel> |
|
100 | 99 | <Button Content="" |
101 | 100 | Style="{StaticResource NavigationBackButtonNormalStyle}"> |
102 | 101 | <i:Interaction.Behaviors> |
103 | | - <ic:EventTriggerBehavior EventName="Click"> |
| 102 | + <i:EventTriggerBehavior EventName="Click"> |
104 | 103 | <labs:ReverseTransitionAction Transition="{StaticResource MyTransitionHelper}" /> |
105 | | - </ic:EventTriggerBehavior> |
| 104 | + </i:EventTriggerBehavior> |
106 | 105 | </i:Interaction.Behaviors> |
107 | 106 | </Button> |
108 | 107 | <Button x:Name="MidToMinButton" |
109 | 108 | Content="" |
110 | 109 | Style="{StaticResource NavigationBackButtonNormalStyle}"> |
111 | 110 | <i:Interaction.Behaviors> |
112 | | - <ic:EventTriggerBehavior EventName="Click"> |
| 111 | + <i:EventTriggerBehavior EventName="Click"> |
113 | 112 | <labs:StartTransitionAction Source="{Binding ElementName=SecondControl}" |
114 | 113 | Target="{Binding ElementName=FirstControl}" |
115 | 114 | Transition="{StaticResource MyTransitionHelper}" /> |
116 | | - </ic:EventTriggerBehavior> |
| 115 | + </i:EventTriggerBehavior> |
117 | 116 | </i:Interaction.Behaviors> |
118 | 117 | </Button> |
119 | 118 | <Button x:Name="MidToMaxButton" |
120 | 119 | Content="" |
121 | 120 | Style="{StaticResource NavigationBackButtonNormalStyle}"> |
122 | 121 | <i:Interaction.Behaviors> |
123 | | - <ic:EventTriggerBehavior EventName="Click"> |
| 122 | + <i:EventTriggerBehavior EventName="Click"> |
124 | 123 | <labs:StartTransitionAction Source="{Binding ElementName=SecondControl}" |
125 | 124 | Target="{Binding ElementName=ThirdControl}" |
126 | 125 | Transition="{StaticResource MyTransitionHelper}" /> |
127 | | - </ic:EventTriggerBehavior> |
| 126 | + </i:EventTriggerBehavior> |
128 | 127 | </i:Interaction.Behaviors> |
129 | 128 | </Button> |
130 | 129 | </StackPanel> |
|
204 | 203 | <Button Content="" |
205 | 204 | Style="{StaticResource NavigationBackButtonNormalStyle}"> |
206 | 205 | <i:Interaction.Behaviors> |
207 | | - <ic:EventTriggerBehavior EventName="Click"> |
| 206 | + <i:EventTriggerBehavior EventName="Click"> |
208 | 207 | <labs:ReverseTransitionAction Transition="{StaticResource MyTransitionHelper}" /> |
209 | | - </ic:EventTriggerBehavior> |
| 208 | + </i:EventTriggerBehavior> |
210 | 209 | </i:Interaction.Behaviors> |
211 | 210 | </Button> |
212 | 211 | <Button x:Name="MaxToMinButton" |
213 | 212 | Content="" |
214 | 213 | Style="{StaticResource NavigationBackButtonNormalStyle}"> |
215 | 214 | <i:Interaction.Behaviors> |
216 | | - <ic:EventTriggerBehavior EventName="Click"> |
| 215 | + <i:EventTriggerBehavior EventName="Click"> |
217 | 216 | <labs:StartTransitionAction Source="{Binding ElementName=ThirdControl}" |
218 | 217 | Target="{Binding ElementName=FirstControl}" |
219 | 218 | Transition="{StaticResource MyTransitionHelper}" /> |
220 | | - </ic:EventTriggerBehavior> |
| 219 | + </i:EventTriggerBehavior> |
221 | 220 | </i:Interaction.Behaviors> |
222 | 221 | </Button> |
223 | 222 | <Button x:Name="MaxToMidButton" |
224 | 223 | Content="" |
225 | 224 | Style="{StaticResource NavigationBackButtonNormalStyle}"> |
226 | 225 | <i:Interaction.Behaviors> |
227 | | - <ic:EventTriggerBehavior EventName="Click"> |
| 226 | + <i:EventTriggerBehavior EventName="Click"> |
228 | 227 | <labs:StartTransitionAction Source="{Binding ElementName=ThirdControl}" |
229 | 228 | Target="{Binding ElementName=SecondControl}" |
230 | 229 | Transition="{StaticResource MyTransitionHelper}" /> |
231 | | - </ic:EventTriggerBehavior> |
| 230 | + </i:EventTriggerBehavior> |
232 | 231 | </i:Interaction.Behaviors> |
233 | 232 | </Button> |
234 | 233 | </StackPanel> |
|
0 commit comments