Xamanimation
Xamanimation copied to clipboard
AnimateProgressColor seems always black
Hello firstly thank you for your great plugin. The following codes are not working properly. xHeader's backgroud always seems black.
<ContentView
x:Name="xHeader"
Grid.Row="0"
BackgroundColor="Green"
HeightRequest="90"
IsClippedToBounds="True"
VerticalOptions="StartAndExpand">
<xamanimation:AnimateProgressColor
Maximum="200"
Minimum="0"
Progress="{Binding ScrollY, Source={x:Reference ScrollBehavior}}"
TargetProperty="VisualElement.BackgroundColor"
From="Yellow"
To="Green" />
</ContentView>
<ScrollView
Margin="0"
CascadeInputTransparent="False"
HorizontalOptions="Fill"
HorizontalScrollBarVisibility="Never"
InputTransparent="False"
IsEnabled="True"
VerticalOptions="FillAndExpand"
VerticalScrollBarVisibility="Never">
<VisualElement.Behaviors>
<xamanimation:ScrollViewScrollBehavior x:Name="ScrollBehavior" />
</VisualElement.Behaviors>
</ScrollView>
Thank you in advance
Hi, I also have the same problem, the background always remains black, is there a solution to this problem? thank you
Hitting this same outcome?!... I follow the example and just get a black BoxView irrespective of colours defined and no animation?!