public class GetPriceList
{
[JsonProperty("status")]
public int Status { get; set; }
[JsonProperty("time")]
public int Time { get; set; }
[JsonProperty("response")]
public Dictionary<string, Dictionary<DateTime, ItemPrice>> Response { get; set; }
}
public class ItemPrice
{
[JsonProperty("mean")]
public int Mean { get; set; }
[JsonProperty("min")]
public int Min { get; set; }
[JsonProperty("max")]
public int Max { get; set; }
[JsonProperty("normalized_mean")]
public int NormalizedMean { get; set; }
[JsonProperty("normalized_min")]
public int NormalizedMin { get; set; }
[JsonProperty("std_dev")]
public int Std_Dev { get; set; }
}
<EventTrigger RoutedEvent="StackPanel.MouseEnter">
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<ColorAnimation
AutoReverse="False"
Duration="0:0:1"
From="Blue" To="Red"
AccelerationRatio="1"
Storyboard.TargetProperty="(StackPanel.Background).(SolidColorBrush.Color)"
FillBehavior="HoldEnd">
</ColorAnimation>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
</EventTrigger>
<EventTrigger RoutedEvent="StackPanel.MouseLeave">
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<ColorAnimation
AutoReverse="False"
Duration="0:0:1"
From="Red" To="Blue"
AccelerationRatio="1"
Storyboard.TargetProperty="(StackPanel.Background).(SolidColorBrush.Color)"
FillBehavior="HoldEnd">
</ColorAnimation>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
</EventTrigger>