Russkyc.ModernControls.WPF
1.9.18
Prefix Reserved
See the version list below for details.
dotnet add package Russkyc.ModernControls.WPF --version 1.9.18
NuGet\Install-Package Russkyc.ModernControls.WPF -Version 1.9.18
<PackageReference Include="Russkyc.ModernControls.WPF" Version="1.9.18" />
paket add Russkyc.ModernControls.WPF --version 1.9.18
#r "nuget: Russkyc.ModernControls.WPF, 1.9.18"
// Install Russkyc.ModernControls.WPF as a Cake Addin #addin nuget:?package=Russkyc.ModernControls.WPF&version=1.9.18 // Install Russkyc.ModernControls.WPF as a Cake Tool #tool nuget:?package=Russkyc.ModernControls.WPF&version=1.9.18
Russkyc.ModernControls.WPF
A highly customizable custom control library for wpf
Version | Package Name |
---|---|
Russkyc.ModernControls.WPF |
What sets this apart from the default WPF controls?
The default wpf control library is awesome when it comes to ui customization, but theres only one problem --you need to write a handful of style setters, dependency properties, and triggers to have a truly customized control. Which is why Russkyc.ModernControls.WPF is created. It saves you from having to write all of the style, templates, and triggers by providing controls that are highly customizable all using properties. Perfect for quick and easy UI Development.
<span align="center">
</span>
Setup
Add the Resources to App.xaml. Order is Important!
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary
Source="pack://application:,,,/Russkyc.ModernControls.WPF;component/Themes/BaseTheme/Dark.xaml" />
<ResourceDictionary
Source="pack://application:,,,/Russkyc.ModernControls.WPF;component/Themes/ColorThemes/Blue.xaml" />
<ResourceDictionary
Source="pack://application:,,,/Russkyc.ModernControls.WPF;component/Themes/Generic.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
Add the following to your window
xmlns:russkyc="clr-namespace:org.russkyc.moderncontrols;assembly=Russkyc.ModernControls.WPF"
Sample Usage
<russkyc:ModernButton Width="70" Text="Modern Button" />
A Taste of ModernControls Customization
<russkyc:ModernButton Width="70"
CornerRadius="5"
FontWeight="SemiBold"
HoverBackground="#3d88ff"
HoverForeground="#7BFFA3"
PressedBackground="#1F5ABD"
PressedForeground="#FFBE46"
Text="Modern Button" />
Control Library
- ModernWindow - New! in 1.5.0
- ModernTextBox - Updated! in 1.5.0
- ModernButton
- ModernToggleButton
- ModernRadio
- ModernSwitch - New! in 1.5.0
- ModernRadioButton
- ModernComboBox - Updated! in 1.5.0
Global Theme Management
<span align="center">
</span>
Using the Theme Manager
Breaking Changes in 1.5.2
ThemeManager
is now usesInstance
- There are now 2 Theme resources.
Base Theme
corresponds to the overall base(dark/light) andColorTheme
corresponds to the theme colors (blue/red/etc.)- Default Base Themes are now located in
pack://application:,,,/Russkyc.ModernControls.WPF;component/Themes/BaseTheme/
- Color Themes are in
pack://application:,,,/Russkyc.ModernControls.WPF;component/Themes/ColorThemes/
Imports
using org.russkyc.moderncontrols.Helpers;
Adding Base or Color Themes
ThemeManager.Instance.AddBaseTheme("Light","pack://application:,,,/Russkyc.ModernControls.WPF;component/Themes/BaseTheme/DefaultLight.xaml");
ThemeManager.Instance.AddColorTheme("Blue","pack://application:,,,/Russkyc.ModernControls.WPF;component/Themes/ColorThemes/Blue.xaml");
Changing Base or Color Themes (Live)
ThemeManager.Instance.SetBaseTheme("Dark");
ThemeManager.Instance.SetColorTheme("Blue");
Get List of Base or Color Themes (names)
ThemeManager.Instance.GetBaseThemes();
ThemeManager.Instance.GetColorThemes();
Removing Base or Color Themes
ThemeManager.Instance.RemoveBaseTheme("Light");
ThemeManager.Instance.RemoveColorTheme("Blue");
Default Color Themes
Base Themes:
- Light
- Dark
Color Themes:
- Blue
- Gray
- Green
- Lime
- Orange
- Pink
- Purple
- Red
- Teal
- Yellow
Documentation, API References, and More
Head over to the Wiki
Sponsors
Special thanks to JetBrains for supporting this project by providing licences to the JetBrains Suite!
<a href="https://www.jetbrains.com/community/opensource/#support"> <img width="200px" src="https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png" alt="JetBrains Logo (Main) logo."> </a>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net7.0-windows7.0 is compatible. net8.0-windows was computed. |
.NET Framework | net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 is compatible. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
-
.NETFramework 4.6
- No dependencies.
-
.NETFramework 4.7
- No dependencies.
-
.NETFramework 4.8
- No dependencies.
-
net6.0-windows7.0
- No dependencies.
-
net7.0-windows7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.2.3 | 284 | 10/12/2023 |
2.2.2 | 132 | 10/12/2023 |
2.2.1 | 133 | 10/12/2023 |
2.0.8 | 298 | 9/8/2023 |
2.0.4 | 193 | 8/11/2023 |
2.0.3 | 169 | 8/11/2023 |
2.0.2-pre | 127 | 8/11/2023 |
1.9.18 | 522 | 6/6/2023 |
1.7.1 | 270 | 5/1/2023 |
1.6.1 | 184 | 4/28/2023 |
1.6.0 | 164 | 4/28/2023 |
1.5.2 | 188 | 4/18/2023 |
1.5.1 | 211 | 4/18/2023 |
1.5.1-dev | 131 | 4/15/2023 |
1.5.0 | 192 | 4/14/2023 |
1.4.2 | 184 | 4/6/2023 |
1.4.0 | 207 | 4/4/2023 |
1.3.2 | 181 | 4/3/2023 |
1.1.4 | 200 | 4/3/2023 |
1.1.3 | 216 | 4/1/2023 |
1.1.2 | 208 | 4/1/2023 |
1.1.1 | 209 | 4/1/2023 |
1.0.5 | 224 | 4/1/2023 |