tip2tail.WinFormAppBarLib 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package tip2tail.WinFormAppBarLib --version 1.0.1                
NuGet\Install-Package tip2tail.WinFormAppBarLib -Version 1.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="tip2tail.WinFormAppBarLib" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add tip2tail.WinFormAppBarLib --version 1.0.1                
#r "nuget: tip2tail.WinFormAppBarLib, 1.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install tip2tail.WinFormAppBarLib as a Cake Addin
#addin nuget:?package=tip2tail.WinFormAppBarLib&version=1.0.1

// Install tip2tail.WinFormAppBarLib as a Cake Tool
#tool nuget:?package=tip2tail.WinFormAppBarLib&version=1.0.1                

Helper library for creating AppBars (forms which are docked to the side of the screen) in .NET WinForms. AppBars reserve the required space, similar to the Taskbar in Windows.

Available via Nuget : https://www.nuget.org/packages/tip2tail.WinFormAppBarLib/

Based on:

What is it?

A helper for turning a WinForms window into an "AppBar" like the Windows taskbar.

How do I use it?

To use, just call this code from anywhere within a normal WinForms window (say a button click or the initialize). Note that you can not call this until AFTER the window is initialized, if the HWND hasn't been created yet (like in the constructor), an error will occur.

// Setup
AppBarHelper.AppBarMessage = "UniqueAPIMesasgeForYourApplication";

// Make the window an AppBar and dock to the right of the screen:
AppBarHelper.SetAppBar(this, AppBarEdge.Right);

// Restore the window to a normal window:
AppBarHelper.SetAppBar(this, AppBarEdge.None);

I found a bug!

Please add an issue, or better yet send a pull request. I can't say that I'll revisit this project in the future so any contributions are welcome. Thanks!

That sounds okay... but licensing?

No warranty of any kind implied. MIT license.

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.1 1,200 3/23/2019
1.1.1 997 3/11/2018
1.0.2 1,003 1/13/2018
1.0.1 943 1/13/2018
1.0.0 1,183 1/10/2018

Fix to ensure bar is not incorrectly on top when docked.