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

https://github.com/yoshihiroito/biaui

WPF dark theme and controls for .NET Core and .NET Framework
https://github.com/yoshihiroito/biaui

csharp dark dark-theme dotnet theme ui wpf wpf-dark-theme

Last synced: about 1 year ago
JSON representation

WPF dark theme and controls for .NET Core and .NET Framework

Awesome Lists containing this project

README

          

# Biaui
[![Biaui NuGet package](https://img.shields.io/nuget/v/Biaui)](https://www.nuget.org/packages/Biaui)
![.NET Core Version: >= 3.1](https://img.shields.io/badge/.NET%20Core-%3E%3D%203.1-brightgreen)
![.NET Framework version: >= 4.7](https://img.shields.io/badge/.NET%20Framework-%3E%3D%204.7-brightgreen)
[![MIT License](http://img.shields.io/badge/license-MIT-lightgray)](LICENSE)

WPF dark theme and controls for .NET

[Biaui.Showcase.csproj](https://github.com/YoshihiroIto/Biaui/tree/master/Biaui/source/Biaui.Showcase)
![Biaui.Showcase.csproj](biaui.png)

[Biaui.Controls.Mock.csproj](https://github.com/YoshihiroIto/Biaui/tree/master/Biaui/source/Biaui.Controls.Mock)
![Biaui.Controls.Mock.csproj](biaui2.png)

[JitPad(use Biaui)](https://github.com/YoshihiroIto/JitPad)
![Biaui](https://github.com/YoshihiroIto/JitPad/raw/master/JitPad.gif)

## Features

* Dark color
* Per Monitor DPI aware
* Some specialized controls
* Node editor
* Number editor
* Color picker
* Multiple selectable treeview
* and more...
* Some lightweight standard controls
* Reimplementation. about x20-30 faster than standard WPF controls

## Target Frameworks

* .NET 5.0
* .NET Core 3.1
* .NET Framework 4.7 or 4.7.2 or 4.8

## Install
```
PM> Install-Package Biaui
```

## Quick Start

### Step1. Create Project and Add Biaui
```
> dotnet new wpf -o first-biaui
> cd first-biaui
> dotnet add package biaui
```

### Step2. Add Biaui's resources

- Open App.xaml
- Add ``````

```xml



```

### Step3. Use Biaui's Window

- Open MainWindow.xaml
- Add ```xmlns:controls="clr-namespace:Biaui.Controls;assembly=Biaui"```
- Change `````` to ``````

```xml

```

- Open MainWindow.xaml.cs
- Remove ```: Window```

```C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace first_biaui
{
///
/// Interaction logic for MainWindow.xaml
///
public partial class MainWindow
{
public MainWindow()
{
InitializeComponent();
}
}
}
```

### Step4. Build and Run
```
> dotnet run
```
![Biaui](first-window.png)

## Todo

* More tutorial
* More document
* Light theme (white based)
* Currently fixed in dark theme
* Changeable accent color
* Currently fixed in blue

## Reference External Assets

* Jewelry
* https://github.com/YoshihiroIto/Jewelry
* MIT License

## Including External Assets

* WPF
* https://github.com/dotnet/wpf
* MIT License

* Material Design icons by Google
* https://github.com/google/material-design-icons
* Apache License 2.0

* Muli
* https://fonts.google.com/specimen/Muli
* SIL OPEN FONT LICENSE 1.1

* Genshin Gothic
* http://jikasei.me/font/genshin
* SIL OPEN FONT LICENSE 1.1

## Including External Assets (Biaui.Extension)

* WPF Control for Direct2D with SharpDX
* https://github.com/YoshihiroIto/D2dControl
* MIT License

* SharpDX
* https://github.com/sharpdx/SharpDX
* MIT License

## Author

Yoshihiro Ito
Twitter: [https://twitter.com/yoiyoi322](https://twitter.com/yoiyoi322)
Email: yo.i.jewelry.bab@gmail.com

## License

MIT