Skip to content

zrt2399/OhmStudio.UI

Repository files navigation

OhmStudio.UI

Introduce

WPF UI Library

AvalonDock UI Library

.Net Version

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

💡 Install

Nuget search to download OhmStudio.UI. Please use the latest version and I will update this package from time to time to fix any bugs that may occur 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

Languages