Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fatrainbowpony/dock-window

Dock window implementation of WPF
https://github.com/fatrainbowpony/dock-window

application-desktop-toolbars csharp dock-window dotnet windows wpf

Last synced: 2 days ago
JSON representation

Dock window implementation of WPF

Awesome Lists containing this project

README

        


DockWindow

# Dock Window
[![Nuget](https://img.shields.io/nuget/v/DockWindow)](https://www.nuget.org/packages/DockWindow)
[![Downloads](https://img.shields.io/nuget/dt/DockWindow)](https://www.nuget.org/packages/DockWindow)

Dock window implementation of WPF base off [Using Application Desktop Toolbars](https://learn.microsoft.com/en-us/windows/win32/shell/application-desktop-toolbars)

## Features
- Docking to any edge and monitor
- Supporting automatic hiding
- Cooperating with other desktop toolbars

## Usage
Install the NuGet package. Then create a WPF window and select the `DockWindow` class instead of the `Window` class. Needs to done both in XAML and code

- XAML
```xml


```

- Code
```csharp
namespace DockWindowDemo
{
public partial class MainWindow : DockWindow.Windows.DockWindow
{
public MainWindow()
{
InitializeComponent();
}
}
}
```

You can see [DockWindowDemo](https://github.com/FatRainbowPony/Dock-Window/tree/main/src/DockWindowDemo) for an example project