Skip to content

zrt2399/OhmStudio.UI

Repository files navigation

License NuGet

OhmStudio.UI

Introduce

WPF UI Library

AvalonDock UI Library

.Net Version

.Net Version Status
net462
net5.0-windows
net8.0-windows

💡 Install

Add nuget package:

dotnet add package OhmStudio.UI

Please use the latest version. I will update this package regularly to fix any bugs that may arise during testing.

🚀 Quick Start

<Application.Resources>
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            //Themes for WPF control and AvalonDock, 2022 can be replaced with 2019, BlueTheme can be replaced with LightTheme or DarkTheme.
            <ResourceDictionary Source="/OhmStudio.UI;Component/Themes/VisualStudio2022/BlueTheme.xaml" />

            //Styles for WPF basic controls and custom controls, for example SearchBar, CheckComboBox, CircleProgressBar, etc...
            <ResourceDictionary Source="/OhmStudio.UI;Component/Styles/VisualStudio.xaml" />
        </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
</Application.Resources>

//You can override the following resources, they are all the dynamic resources.

//InputElement:Button,ComboBox,TextBox,PasswordBox,SearchBar,NumericUpDown,PasswordTextBox,DateTimePicker,CheckComboBox.
<Thickness x:Key="InputElementPadding">2</Thickness>
<Thickness x:Key="InputElementBorderThickness">1</Thickness>

<Thickness x:Key="ComboBoxItemPadding">1</Thickness>
<Thickness x:Key="ComboBoxItemMargin">2,0</Thickness>

<Thickness x:Key="ListBoxItemPadding">2,0</Thickness>
<Thickness x:Key="ListBoxItemMargin">0</Thickness>

<Thickness x:Key="ListViewItemPadding">4,2</Thickness>
<Thickness x:Key="ListViewItemMargin">0,0,0,1</Thickness>

🙏 Special Thanks

📷 Screenshot

Screenshot

About

WPF&AvalonDock UI Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages