|
|
@ -13,8 +13,8 @@ |
|
|
<Setter Property="Width" Value="350"/> |
|
|
<Setter Property="Width" Value="350"/> |
|
|
<Setter Property="FontSize" Value="14"/> |
|
|
<Setter Property="FontSize" Value="14"/> |
|
|
<Setter Property="Foreground" Value="White"/> |
|
|
<Setter Property="Foreground" Value="White"/> |
|
|
|
|
|
|
|
|
<!-- <Setter Property="ContentTemplateSelector" Value="{StaticResource NotificationTemplateSelector}"/> --> |
|
|
<!-- <Setter Property="ContentTemplateSelector" Value="{StaticResource NotificationTemplateSelector}"/> --> |
|
|
<Setter Property="Template"> |
|
|
<Setter Property="Template"> |
|
|
<ControlTemplate> |
|
|
<ControlTemplate> |
|
|
<Border Background="{TemplateBinding Background}" |
|
|
<Border Background="{TemplateBinding Background}" |
|
|
@ -30,31 +30,35 @@ |
|
|
</Setter> |
|
|
</Setter> |
|
|
|
|
|
|
|
|
<Style.Animations> |
|
|
<Style.Animations> |
|
|
<Animation Duration="0:0:0.200" Easing="CubicEaseInOut"> |
|
|
<Animation Duration="0:0:1.0" Easing="CubicEaseInOut" FillMode="Forward"> |
|
|
<KeyFrame Cue="0%"> |
|
|
<KeyFrame Cue="0%"> |
|
|
<Setter Property="Opacity" Value="0"/> |
|
|
<Setter Property="Opacity" Value="0"/> |
|
|
<Setter Property="TranslateTransform.X" Value="250"/> |
|
|
<Setter Property="TranslateTransform.X" Value="250"/> |
|
|
</KeyFrame> |
|
|
<Setter Property="Height" Value="0"/> |
|
|
<KeyFrame Cue="100%"> |
|
|
</KeyFrame> |
|
|
<Setter Property="Opacity" Value="1"/> |
|
|
<KeyFrame Cue="100%"> |
|
|
<Setter Property="TranslateTransform.X" Value="0"/> |
|
|
<Setter Property="Opacity" Value="1"/> |
|
|
</KeyFrame> |
|
|
<Setter Property="TranslateTransform.X" Value="0"/> |
|
|
</Animation> |
|
|
<Setter Property="Height" Value="100"/> |
|
|
|
|
|
</KeyFrame> |
|
|
|
|
|
</Animation> |
|
|
</Style.Animations> |
|
|
</Style.Animations> |
|
|
</Style> |
|
|
</Style> |
|
|
|
|
|
|
|
|
<Style Selector="Notification[IsClosing=true]"> |
|
|
<Style Selector="Notification[IsClosing=true]"> |
|
|
<Style.Animations> |
|
|
<Style.Animations> |
|
|
<Animation Duration="0:0:0.150" Easing="CubicEaseInOut" FillMode="Forward"> |
|
|
<Animation Duration="0:0:1.0" Easing="CubicEaseInOut" FillMode="Forward"> |
|
|
<KeyFrame Cue="0%"> |
|
|
<KeyFrame Cue="0%"> |
|
|
<Setter Property="Opacity" Value="1"/> |
|
|
<Setter Property="Height" Value="100"/> |
|
|
<Setter Property="TranslateTransform.X" Value="0"/> |
|
|
<Setter Property="Opacity" Value="1"/> |
|
|
</KeyFrame> |
|
|
<Setter Property="TranslateTransform.X" Value="0"/> |
|
|
<KeyFrame Cue="100%"> |
|
|
</KeyFrame> |
|
|
<Setter Property="Opacity" Value="0"/> |
|
|
<KeyFrame Cue="100%"> |
|
|
<Setter Property="TranslateTransform.X" Value="250"/> |
|
|
<Setter Property="Height" Value="0"/> |
|
|
</KeyFrame> |
|
|
<Setter Property="Opacity" Value="0"/> |
|
|
</Animation> |
|
|
<Setter Property="TranslateTransform.X" Value="250"/> |
|
|
|
|
|
</KeyFrame> |
|
|
|
|
|
</Animation> |
|
|
</Style.Animations> |
|
|
</Style.Animations> |
|
|
</Style> |
|
|
</Style> |
|
|
|
|
|
|
|
|
|