|
68 | 68 | Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ButtonProgressAssist.Value)}"> |
69 | 69 | <ProgressBar.Clip> |
70 | 70 | <MultiBinding Converter="{x:Static converters:BorderClipConverter.Instance}"> |
71 | | - <Binding ElementName="border" Path="ActualWidth" /> |
72 | | - <Binding ElementName="border" Path="ActualHeight" /> |
73 | | - <Binding ElementName="border" Path="CornerRadius" /> |
74 | | - <Binding ElementName="border" Path="BorderThickness" /> |
| 71 | + <Binding Source="{x:Reference border}" Path="ActualWidth" /> |
| 72 | + <Binding Source="{x:Reference border}" Path="ActualHeight" /> |
| 73 | + <Binding Source="{x:Reference border}" Path="CornerRadius" /> |
| 74 | + <Binding Source="{x:Reference border}" Path="BorderThickness" /> |
75 | 75 | </MultiBinding> |
76 | 76 | </ProgressBar.Clip> |
77 | 77 | </ProgressBar> |
|
87 | 87 | SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"> |
88 | 88 | <wpf:Ripple.Clip> |
89 | 89 | <MultiBinding Converter="{x:Static converters:BorderClipConverter.Instance}"> |
90 | | - <Binding ElementName="border" Path="ActualWidth" /> |
91 | | - <Binding ElementName="border" Path="ActualHeight" /> |
92 | | - <Binding ElementName="border" Path="CornerRadius" /> |
93 | | - <Binding ElementName="border" Path="BorderThickness" /> |
| 90 | + <Binding Source="{x:Reference border}" Path="ActualWidth" /> |
| 91 | + <Binding Source="{x:Reference border}" Path="ActualHeight" /> |
| 92 | + <Binding Source="{x:Reference border}" Path="CornerRadius" /> |
| 93 | + <Binding Source="{x:Reference border}" Path="BorderThickness" /> |
94 | 94 | </MultiBinding> |
95 | 95 | </wpf:Ripple.Clip> |
96 | 96 | </wpf:Ripple> |
|
199 | 199 | Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ButtonProgressAssist.Value)}"> |
200 | 200 | <ProgressBar.Clip> |
201 | 201 | <MultiBinding Converter="{x:Static converters:BorderClipConverter.Instance}"> |
202 | | - <Binding ElementName="border" Path="ActualWidth" /> |
203 | | - <Binding ElementName="border" Path="ActualHeight" /> |
204 | | - <Binding ElementName="border" Path="CornerRadius" /> |
205 | | - <Binding ElementName="border" Path="BorderThickness" /> |
| 202 | + <Binding Source="{x:Reference border}" Path="ActualWidth" /> |
| 203 | + <Binding Source="{x:Reference border}" Path="ActualHeight" /> |
| 204 | + <Binding Source="{x:Reference border}" Path="CornerRadius" /> |
| 205 | + <Binding Source="{x:Reference border}" Path="BorderThickness" /> |
206 | 206 | </MultiBinding> |
207 | 207 | </ProgressBar.Clip> |
208 | 208 | </ProgressBar> |
|
217 | 217 | SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"> |
218 | 218 | <wpf:Ripple.Clip> |
219 | 219 | <MultiBinding Converter="{x:Static converters:BorderClipConverter.Instance}"> |
220 | | - <Binding ElementName="border" Path="ActualWidth" /> |
221 | | - <Binding ElementName="border" Path="ActualHeight" /> |
222 | | - <Binding ElementName="border" Path="CornerRadius" /> |
223 | | - <Binding ElementName="border" Path="BorderThickness" /> |
| 220 | + <Binding Source="{x:Reference border}" Path="ActualWidth" /> |
| 221 | + <Binding Source="{x:Reference border}" Path="ActualHeight" /> |
| 222 | + <Binding Source="{x:Reference border}" Path="CornerRadius" /> |
| 223 | + <Binding Source="{x:Reference border}" Path="BorderThickness" /> |
224 | 224 | </MultiBinding> |
225 | 225 | </wpf:Ripple.Clip> |
226 | 226 | </wpf:Ripple> |
|
357 | 357 | Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ButtonProgressAssist.Value)}"> |
358 | 358 | <ProgressBar.Clip> |
359 | 359 | <MultiBinding Converter="{x:Static converters:BorderClipConverter.Instance}"> |
360 | | - <Binding ElementName="border" Path="ActualWidth" /> |
361 | | - <Binding ElementName="border" Path="ActualHeight" /> |
362 | | - <Binding ElementName="border" Path="CornerRadius" /> |
363 | | - <Binding ElementName="border" Path="BorderThickness" /> |
| 360 | + <Binding Source="{x:Reference border}" Path="ActualWidth" /> |
| 361 | + <Binding Source="{x:Reference border}" Path="ActualHeight" /> |
| 362 | + <Binding Source="{x:Reference border}" Path="CornerRadius" /> |
| 363 | + <Binding Source="{x:Reference border}" Path="BorderThickness" /> |
364 | 364 | </MultiBinding> |
365 | 365 | </ProgressBar.Clip> |
366 | 366 | </ProgressBar> |
|
375 | 375 | SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"> |
376 | 376 | <wpf:Ripple.Clip> |
377 | 377 | <MultiBinding Converter="{x:Static converters:BorderClipConverter.Instance}"> |
378 | | - <Binding ElementName="border" Path="ActualWidth" /> |
379 | | - <Binding ElementName="border" Path="ActualHeight" /> |
380 | | - <Binding ElementName="border" Path="CornerRadius" /> |
381 | | - <Binding ElementName="border" Path="BorderThickness" /> |
| 378 | + <Binding Source="{x:Reference border}" Path="ActualWidth" /> |
| 379 | + <Binding Source="{x:Reference border}" Path="ActualHeight" /> |
| 380 | + <Binding Source="{x:Reference border}" Path="CornerRadius" /> |
| 381 | + <Binding Source="{x:Reference border}" Path="BorderThickness" /> |
382 | 382 | </MultiBinding> |
383 | 383 | </wpf:Ripple.Clip> |
384 | 384 | </wpf:Ripple> |
|
802 | 802 | SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"> |
803 | 803 | <wpf:Ripple.Clip> |
804 | 804 | <MultiBinding Converter="{x:Static converters:BorderClipConverter.Instance}"> |
805 | | - <Binding ElementName="border" Path="ActualWidth" /> |
806 | | - <Binding ElementName="border" Path="ActualHeight" /> |
807 | | - <Binding ElementName="border" Path="CornerRadius" /> |
808 | | - <Binding ElementName="border" Path="BorderThickness" /> |
| 805 | + <Binding Source="{x:Reference border}" Path="ActualWidth" /> |
| 806 | + <Binding Source="{x:Reference border}" Path="ActualHeight" /> |
| 807 | + <Binding Source="{x:Reference border}" Path="CornerRadius" /> |
| 808 | + <Binding Source="{x:Reference border}" Path="BorderThickness" /> |
809 | 809 | </MultiBinding> |
810 | 810 | </wpf:Ripple.Clip> |
811 | 811 | </wpf:Ripple> |
|
0 commit comments