{"id":21701227,"url":"https://github.com/russkyc/modern-controls-wpf","last_synced_at":"2025-04-12T13:34:58.164Z","repository":{"id":150307826,"uuid":"622154507","full_name":"russkyc/modern-controls-wpf","owner":"russkyc","description":"Highly customizable modern wpf control library","archived":false,"fork":false,"pushed_at":"2023-10-18T02:29:00.000Z","size":578,"stargazers_count":30,"open_issues_count":11,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T08:11:09.278Z","etag":null,"topics":["custom-control-library","custom-controls","desktop","theme","wpf","wpf-controls","wpf-ui","xaml"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/russkyc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"russkyc","patreon":"russkyc","custom":["https://paypal.me/jrcmo"]}},"created_at":"2023-04-01T09:31:16.000Z","updated_at":"2025-02-25T09:00:24.000Z","dependencies_parsed_at":"2023-04-04T12:46:41.698Z","dependency_job_id":"2dd26d47-96ff-4dec-b10b-22ce9a74264e","html_url":"https://github.com/russkyc/modern-controls-wpf","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/russkyc%2Fmodern-controls-wpf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/russkyc%2Fmodern-controls-wpf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/russkyc%2Fmodern-controls-wpf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/russkyc%2Fmodern-controls-wpf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/russkyc","download_url":"https://codeload.github.com/russkyc/modern-controls-wpf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248573748,"owners_count":21126898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["custom-control-library","custom-controls","desktop","theme","wpf","wpf-controls","wpf-ui","xaml"],"created_at":"2024-11-25T20:18:35.865Z","updated_at":"2025-04-12T13:34:58.129Z","avatar_url":"https://github.com/russkyc.png","language":"C#","funding_links":["https://github.com/sponsors/russkyc","https://patreon.com/russkyc","https://paypal.me/jrcmo"],"categories":[],"sub_categories":[],"readme":"\u003ch2 align=\"center\"\u003eModernControls.WPF\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.nuget.org/packages/Russkyc.ModernControls.WPF\"\u003e\n        \u003cimg src=\"https://img.shields.io/nuget/v/Russkyc.ModernControls.WPF?color=1f72de\" alt=\"Nuget\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"#\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/-.NET%206.0-blueviolet?color=1f72de\u0026label=NET\" alt=\"\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"#\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/-.NET%20Framework%204.6-blueviolet?color=1f72de\u0026label=NET\" alt=\"\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.nuget.org/packages/Russkyc.ModernControls.WPF\"\u003eRusskyc.ModernControls.WPF\u003c/a\u003e is an easy to use and highly customizable modern control library for wpf\n\u003c/p\u003e\n\n### What sets this apart from the default WPF controls?\n\nThe 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.\n\n---\n\n\u003cspan align=\"center\"\u003e\n    \n![image](https://raw.githubusercontent.com/russkyc/modern-controls-wpf/master/Russkyc.ModernControls.WPF.Demo/Resources/Demo.png)\n    \n\u003c/span\u003e\n\n---\n## Setup\n\nAdd This Reference to App.xaml\n```xaml\nxmlns:russkyc=\"clr-namespace:org.russkyc.moderncontrols.Styles;assembly=Russkyc.ModernControls.WPF\"\n```\n\nAdd the Resource and set default theme in App.xaml\n\n```xaml\n    \u003cApplication.Resources\u003e\n        \u003c!--  ModernControls WPF  --\u003e\n        \u003cstyles:ModernControlsWpf BaseTheme=\"Dark\" ColorTheme=\"Green\" /\u003e\n    \u003c/Application.Resources\u003e\n```\n\nAdd the following to your window\n```xaml\nxmlns:russkyc=\"clr-namespace:org.russkyc.moderncontrols;assembly=Russkyc.ModernControls.WPF\"\n```\n\nSample Usage\n```xaml\n\u003crusskyc:ModernButton Width=\"70\" Text=\"Modern Button\" /\u003e\n```\n\n---\n\n### A Taste of ModernControls Customization\n\n```xaml\n\u003crusskyc:ModernButton Width=\"70\"\n                             CornerRadius=\"5\"\n                             FontWeight=\"SemiBold\"\n                             HoverBackground=\"#3d88ff\"\n                             HoverForeground=\"#7BFFA3\" \n                             PressedBackground=\"#1F5ABD\"\n                             PressedForeground=\"#FFBE46\"\n                             Text=\"Modern Button\" /\u003e\n```\n\n---\n\n## Control Library\n\u003e - [x] ModernWindow - **_New! in 1.5.0_**\n\u003e - [x] ModernTextBox - **_Updated! in 1.5.0_**\n\u003e - [x] ModernButton\n\u003e - [x] ModernToggleButton\n\u003e - [x] ModernRadio\n\u003e - [x] ModernSwitch - **_New! in 1.5.0_**\n\u003e - [x] ModernRadioButton\n\u003e - [x] ModernComboBox - **_Updated! in 1.5.0_**\n\n---\n\n## Global Theme Management\n\n\u003cspan align=\"center\"\u003e\n\n![image](https://raw.githubusercontent.com/russkyc/modern-controls-wpf/master/Russkyc.ModernControls.WPF.Demo/Resources/ThemeManagementDemo.gif)\n\n\u003c/span\u003e\n\n### Using the Theme Manager\n\n\u003e **Breaking Changes in 1.5.2**\n\u003e - `ThemeManager` is now uses `Instance`\n\u003e - There are now 2 Theme resources. `Base Theme` corresponds to the overall base(dark/light) and `ColorTheme` corresponds to the theme colors (blue/red/etc.)\n\u003e - Default Base Themes are now located in `pack://application:,,,/Russkyc.ModernControls.WPF;component/Themes/BaseTheme/`\n\u003e - Color Themes are in `pack://application:,,,/Russkyc.ModernControls.WPF;component/Themes/ColorThemes/`\n\nImports\n```csharp\nusing org.russkyc.moderncontrols.Helpers;\n```\n\nAdding Base or Color Themes\n\n```csharp\nThemeManager.Instance.AddBaseTheme(\"Light\",\"pack://application:,,,/Russkyc.ModernControls.WPF;component/Themes/BaseTheme/DefaultLight.xaml\");\nThemeManager.Instance.AddColorTheme(\"Blue\",\"pack://application:,,,/Russkyc.ModernControls.WPF;component/Themes/ColorThemes/Blue.xaml\");\n```\n\nChanging Base or Color Themes (Live)\n\n```csharp\nThemeManager.Instance.SetBaseTheme(Dark);\nThemeManager.Instance.SetColorTheme(Blue);\n```\n\nGet List of Base or Color Themes (names)\n```csharp\nThemeManager.Instance.GetBaseThemes();\nThemeManager.Instance.GetColorThemes();\n```\n\nRemoving Base or Color Themes\n\n```csharp\nThemeManager.Instance.RemoveBaseTheme(Light);\nThemeManager.Instance.RemoveColorTheme(Blue);\n```\n\n## Default Color Themes\n\n#### Base Themes:\n- Light\n- Dark\n\n#### Color Themes:\n- Blue\n- Gray\n- Green\n- Lime\n- Orange\n- Pink\n- Purple\n- Red\n- Teal\n- Yellow\n\n---\n## Documentation, API References, and More\n\nHead over to the [Wiki](https://github.com/russkyc/modern-controls-wpf/wiki)\n\n---\n\n## Sponsors\nSpecial thanks to [JetBrains](https://www.jetbrains.com/) for supporting this project by providing licences to the JetBrains Suite!\n\n\u003ca href=\"https://www.jetbrains.com/community/opensource/#support\"\u003e\n\u003cimg width=\"200px\" src=\"https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png\" alt=\"JetBrains Logo (Main) logo.\"\u003e\n\u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frusskyc%2Fmodern-controls-wpf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frusskyc%2Fmodern-controls-wpf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frusskyc%2Fmodern-controls-wpf/lists"}