Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binding is null #10

Open
lolohouse opened this issue Apr 18, 2018 · 0 comments
Open

Binding is null #10

lolohouse opened this issue Apr 18, 2018 · 0 comments

Comments

@lolohouse
Copy link

lolohouse commented Apr 18, 2018

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

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>

</controls:ExtenderSwitch.Triggers>
</controls:ExtenderSwitch>

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

@lolohouse lolohouse changed the title Not run Binding Binding is null Apr 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant