Skip to content

Commit

Permalink
Release prep
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandarDev committed May 3, 2018
1 parent a1f5bb0 commit c31a1a6
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 6 deletions.
6 changes: 5 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.3.0] - 2018-05-03
### Added
- Added notification fade-out and fade-in animations.

## [1.2.0] - 2018-04-30
### Added
- Implemented support for setting custom text color with `Foreground` method.
- Implemented support for setting custom text color with `Foreground` method.

## [1.1.0] - 2018-04-03
### Added
Expand Down
9 changes: 7 additions & 2 deletions Enterwell.Clients.Wpf.Notifications.Sample/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ public partial class MainWindow
/// </summary>
public MainWindow()
{
InitializeComponent();

this.InitializeComponent();
this.DataContext = this;
}

Expand Down Expand Up @@ -90,6 +89,12 @@ private void ButtonBaseInfoDelayOnClick(object sender, RoutedEventArgs e)
.Queue();
}

/// <summary>
/// Gets the notification message manager.
/// </summary>
/// <value>
/// The notification message manager.
/// </value>
public INotificationMessageManager Manager { get; } = new NotificationMessageManager();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<projectUrl>https://github.com/Enterwell/Wpf.Notifications</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description>
<releaseNotes>Added support for setting custom text color with `Foreground` method.</releaseNotes>
<releaseNotes>Added notification fade-out and fade-in animations.</releaseNotes>
<copyright>Copyright (c) Enterwell d.o.o. 2017-2018</copyright>
<tags>wpf notifications</tags>
</metadata>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]
[assembly: AssemblyVersion("1.3.0.0")]
[assembly: AssemblyFileVersion("1.3.0.0")]
11 changes: 11 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,17 @@ manager.CreateMessage()
.Queue();
```

### Enable notification message animations (_opt-in feature_)

```c#
manager
...
.Animates(true)
.AnimationInDuration(0.75)
.AnimationOutDuration(2)
...
```

## Advanced usage

### Custom control overlay notification
Expand Down

0 comments on commit c31a1a6

Please sign in to comment.