Xamanimation icon indicating copy to clipboard operation
Xamanimation copied to clipboard

Binding is null

Open lolohouse opened this issue 6 years ago • 0 comments

this example: <controls:ExtenderSwitch Grid.Row="8" Grid.Column="1" IsEnabled="{Binding IsEditing}" IsToggled="{Binding Customizing.IsShoppingOnline, Mode=TwoWay}" Style="{StaticResource CustomizingCard.CardSwitch}"> controls:ExtenderSwitch.Triggers <EventTrigger Event="Toggled"> xamanimation:BeginAnimation xamanimation:BeginAnimation.Animation <xamanimation:FadeToAnimation Target="{x:Reference FadeBox}" Duration="2000" Opacity="{Binding Customizing.IsShoppingOnline, Converter={StaticResource BoolToHeightConverter}, ConverterParameter=1}" /> </xamanimation:BeginAnimation.Animation> </xamanimation:BeginAnimation> </EventTrigger> </controls:ExtenderSwitch.Triggers> </controls:ExtenderSwitch> <Label x:Name="FadeBox" Text="{i18n:String detalle_tarjeta_personalizacion_compras}" Style="{StaticResource CustomizingCard.CardTitleSwitchLabel}" Grid.Row="8" Grid.Column="3" />

The FadeToAnimation.BindingContext is null, since, BeginAnimation not bindingContext to BaseAnimation.

lolohouse avatar Apr 18 '18 08:04 lolohouse