Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/fatrainbowpony/dock-window
- Owner: FatRainbowPony
- License: mit
- Created: 2024-08-09T07:33:40.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-07T05:09:25.000Z (about 1 month ago)
- Last Synced: 2024-10-17T17:03:13.241Z (20 days ago)
- Topics: application-desktop-toolbars, csharp, dock-window, dotnet, windows, wpf
- Language: C#
- Homepage:
- Size: 6.26 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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