-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Deadpikle-feature/animate'
- Loading branch information
Showing
13 changed files
with
494 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
Enterwell.Clients.Wpf.Notifications/INotificationAnimation.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
using System.Windows; | ||
using System.Windows.Media.Animation; | ||
|
||
namespace Enterwell.Clients.Wpf.Notifications | ||
{ | ||
/// <summary> | ||
/// The animation properties for a notification message or some | ||
/// other item. | ||
/// </summary> | ||
interface INotificationAnimation | ||
{ | ||
/// <summary> | ||
/// Gets or sets whether the item animates in and out. | ||
/// </summary> | ||
bool Animates { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the animation in duration (in seconds). | ||
/// </summary> | ||
double AnimationInDuration { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the animation out duration (in seconds). | ||
/// </summary> | ||
double AnimationOutDuration { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the animation in. | ||
/// </summary> | ||
AnimationTimeline AnimationIn { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the animation out. | ||
/// </summary> | ||
AnimationTimeline AnimationOut { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the DependencyProperty for the animation in. | ||
/// </summary> | ||
DependencyProperty AnimationInDependencyProperty { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the DependencyProperty for the animation out. | ||
/// </summary> | ||
DependencyProperty AnimationOutDependencyProperty { get; set; } | ||
|
||
/// <summary> | ||
/// Gets the animatable UIElement. | ||
/// Typically this is the whole Control object so that the entire | ||
/// item can be animated. | ||
/// </summary> | ||
UIElement AnimatableElement { get; } | ||
} | ||
} |
Oops, something went wrong.