Skip to content

craftersmine/UI.Unity

UnityUI

Unity UI styles for WPF application.

This WPF style was inspired by Unity Engine Editor interface, firstly for developing external tools for Unity Editor tools.

Note

This project is not owned, sponsored nor endorsed by Unity Software Inc.

Installation

  1. Install craftersmine.Ui.Unity NuGet package
    Install-Package craftersmine.UI.Unity
  2. Create ResourceDictionary in your App.xaml
    <Application.Resources>
       <ResourceDictionary>
          <ResourceDictionary.MergedDictionaries>
             <ResourceDictionary Source="pack://application:,,,/craftersmine.UI.Unity;component/DarkTheme.xaml"/>
             <ResourceDictionary Source="pack://application:,,,/craftersmine.UI.Unity;component/UnityUI.xaml"/>
          </ResourceDictionary.MergedDictionaries>
       </ResourceDictionary>
    </Application.Resources>

Tip

You can specify your custom accent color using

<Color x:Key="UnityUIAccentColor">#3A79BB</Color>
  1. Use styles. To override window style, use Style="{DynamicResource UnityWindowStyle}"

    More info at project 📗 Wiki

Contributing

I'm always open for contributions to my projects. However, please look into Contributing guidelines and Code of Conduct

Funding

If you like this library, you can donate me using ❤️ Sponsor button at the top of the page or using links in Sponsor this project sidebar section. This keeps me motivated to continue to support my projects for everyone.

Sample images

Groups and Boxes

Groups and boxes

Menus and Toolbars

Menus and Toolbars

Tabs and TabControls

Tabs and TabControls

Buttons and toggles

Buttons and toggles

Textboxes

Textboxes

Sliders and progressbars

Sliders and ProgressBars

Comboboxes and expanders

Comboboxes and expanders

ScrollBar and ScrollViewer

ScrollBar and ScrollViewer

ListViews and TreeViews

ListViews and TreeViews

Custom ListBox

Custom ListBox

Other custom controls

Other custom controls

About

Unity UI styles for WPF application.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages