{"id":14963757,"url":"https://github.com/944095635/dmskin","last_synced_at":"2025-10-20T00:34:04.364Z","repository":{"id":58186492,"uuid":"101279321","full_name":"944095635/DMSkin","owner":"944095635","description":"DMSkin WPF 样式 UI 框架 | WPF Borderless Window | Custom Controls \u0026 Styles | MVVM Support","archived":false,"fork":false,"pushed_at":"2021-08-15T02:28:37.000Z","size":4080,"stargazers_count":1553,"open_issues_count":5,"forks_count":387,"subscribers_count":86,"default_branch":"master","last_synced_at":"2025-04-06T17:03:54.572Z","etag":null,"topics":["dmskin","mvvm","ui","wpf","wpf-controls","wpf-styles","wpf-ui","wpfstyle","wpfui"],"latest_commit_sha":null,"homepage":"http://www.dmskin.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/944095635.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-24T09:44:44.000Z","updated_at":"2025-04-06T00:29:09.000Z","dependencies_parsed_at":"2022-09-10T19:50:19.238Z","dependency_job_id":null,"html_url":"https://github.com/944095635/DMSkin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/944095635%2FDMSkin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/944095635%2FDMSkin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/944095635%2FDMSkin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/944095635%2FDMSkin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/944095635","download_url":"https://codeload.github.com/944095635/DMSkin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248767091,"owners_count":21158381,"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":["dmskin","mvvm","ui","wpf","wpf-controls","wpf-styles","wpf-ui","wpfstyle","wpfui"],"created_at":"2024-09-24T13:32:06.598Z","updated_at":"2025-10-20T00:33:59.348Z","avatar_url":"https://github.com/944095635.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 如果你有XAML相关的外包需求，可以通过QQ或微信与我取得联系。(QQ:\"944095635\" 微信号:\"qq944095635\")\n\n\n## 基于DMSkin开发的PC项目，现在运营中你可以前往Steam下载体验。\n[Wallpaper Maker](https://store.steampowered.com/app/1010800)\n\u003cimg src=\"https://raw.githubusercontent.com/944095635/DMSkin/master/Docs/Image/new.png\" align=\"center\"\u003e\n\n\u003cimg src=\"https://raw.githubusercontent.com/944095635/DMSkin/master/Docs/Image/wall.jpg\" align=\"center\"\u003e\n\n\n# DMSkin\n## 目前可以使用,但是内容较少,持续更新中\n#### 介绍\n#### 这是一个全新的项目，快速开发WPF客户端的框架。\n#### 内容：MVVM 框架模块 + DesignLibrary 控件样式库\n#### 开发PC客户端 一套搞定\n\n\u003cimg src=\"https://raw.githubusercontent.com/944095635/DMSkin/master/Docs/Image/Demo1.png\" align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/944095635/DMSkin/master/Docs/Image/Demo2.png\" align=\"center\"\u003e\n\n## 1.开发\u0026编译\u0026环境\u0026问题\n\n\u003cimg src=\"https://raw.githubusercontent.com/944095635/DMSkin/master/Docs/Image/VS.png\" width=\"310\" height=\"101\" align=\"center\"\u003e\n\n````xml\n开发环境：Windows 10  +  Visual Studio 2019 Professional  +  .Net Framework 4.5\n\n项目基于Visual Studio 2019 Professional .Net Framework 4.5，源码包括一些C#新语法。\n\n如果你在旧版本Visual Studio版本上编译不通过的话，请自行修改中源码不兼容的部分。\n````\n````xml\n支持环境：Windows 7/10 +  .Net Framework 4.5\n````\n````xml\n1.目前绝对放弃Windows XP\n2.WPF多数是企业软件,如果要适配windows 7,单独装.Net Framework 4.5的库\n3.UI库的初衷就是为了制作更精美的界面,精美的效果在旧系统中并不能正常的显示,\n  为了适配旧版本的系统而放弃语言新特性,得不偿失。\n\n目前Windows 10 占有率已经超过Windows 7\n````\n````xml\n注意：系统阴影(如果用户关闭了窗口阴影,界面边界无法分辨，可以考虑使用Border增加窗口边框)\n我的电脑-\u003e此电脑-\u003e高级系统设置-\u003e性能-\u003e设置-\u003e√ 在窗口下显示阴影\n````\n````xml\nWindows XP 请自行测试,\n旧版本已经被我转移到[DMSkin-for-WPF](https://github.com/944095635/DMSkin-for-WPF)(备份学习之用)\n````\n## 2.项目模块\u0026使用说明\n\n| 项目               |   DMSkin.dll 和 DMSkin.Core.dll 可以独立存在   | 最新版本            | Nuget  |\n| :----:            |   :----:                                     |   :----:           |:----:  | \n| DMSkin            | DMSkin 窗口\u0026样式 基础控件 基础色 滚动条样式      | 3.0.0.1000         |        |\n| DMSkin.Core       | MVVM,Broadcast,DelegateCommand,ViewModelBase | 3.0.0.1000         |        |\n\n| DesignLibrary样式库| Library样式库都依赖于DMSkin.dll  | 最新版本        | Nuget |\n| :----:            |   :----:                       |   :----:       |:----:  | \n| DMSkin.CyanDesign | CyanDesign 青 \"轻\"              | 1.0.0.1000     |        |\n| DMSkin.AduDesign  | Adu为DMSkin设计的样式库          | 1.0.0.1000     |        |\n\n#### 2.1 新手使用说明\n\u003cimg src=\"https://raw.githubusercontent.com/944095635/DMSkin/master/Docs/Image/Framework1.png\" align=\"center\"\u003e\n\n````xml\n使用DMSkin.dll 和 DMSkin.Core.dll,窗口继承自DMSkinWindow\n从DesignLibrary样式库中选择一个来作为软件的样式库。\n非常推荐刚接触WPF,不会自己写样式和模板的开发者使用这种方式。\n\n这种模式,你只需要使用原生组件,通过设置Style Key就可以切换风格。\n通过重写覆盖样式库中的颜色Key实现整体换色(如果目标库有主题色)\n````\n\n#### 2.2 进阶使用说明\n\u003cimg src=\"https://raw.githubusercontent.com/944095635/DMSkin/master/Docs/Image/Framework2.png\" align=\"center\"\u003e\n\n````xml\n仅用DMSkin.dll 和 DMSkin.Core.dll\n非常推荐会写样式模板的开发者使用这种方式。\n\n这种模式,只会使用到DMSkin的窗口和组件(无外观) 和 Core中的核心辅助类.\n你可以自己为内置组件设计外观。\n非常的轻,不会有多余的代码和样式。\n````\n\n\n#### 2.3 DMSkin.Core模块(DMSkin.Core.dll)\n\u003e UIExecute(跨线程UI调度器) [[使用文档]](https://github.com/944095635/DMSkin/wiki/Execute%E8%B7%A8%E7%BA%BF%E7%A8%8BUI%E8%B0%83%E5%BA%A6%E5%99%A8)\n\n\u003e Broadcast(广播器) [[使用文档]](https://github.com/944095635/DMSkin/wiki/Broadcast%E5%B9%BF%E6%92%AD%E5%99%A8)\n\n\u003e TaskManager(Task管理器)\n\n\u003e Storage(内容存储器)\n\n\u003e DelegateCommand(ICommand实现)\n\n\u003e ViewModelBase(ViewModel基类)\n\n#### 2.4 DMSkin模块(DMSkin.dll)\n\u003e DMSkinWindow[[使用文档]](https://github.com/944095635/DMSkin/wiki/DMSkinWindow%E7%AA%97%E5%8F%A3)\n\n\u003e [[学习WPF的窗口跳转和内容切换]](https://github.com/944095635/DMSkin/wiki/%E9%A1%B5%E9%9D%A2%E5%8A%A0%E8%BD%BD\u0026%E7%AA%97%E5%8F%A3%E8%B7%B3%E8%BD%AC)\n\n\u003e SystemButton(系统按钮)\n\n\u003e Icon(附加属性类)\n\n\n## 3.下载\u0026引用\n\u003e 3.1 可以直接通过   `https://github.com/944095635/DMSkin.git`\n\n克隆代码到本地，通过引用项目的方式导入DMSkin到你的解决方案中\n\n\u003e 3.2 你可以通过Nuget 搜索DMSkin安装到自己的项目中\n\n## 4.代码段\n项目中一般会使用到Visual Studio的智能提示(双tab代码段),\n\n我在项目中提供了3个代码段（在当前项目的Docs文件夹中可以找到）。\n\nVS-\u003e工具-\u003e代码片段管理器-\u003e语言（Csharp）-\u003eVisual C#\n\n我的VS安装在C盘路径是:\n````xml\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC#\\Snippets\\2052\\Visual C#\n````\n\n| Dos文件夹                | 描述   |使用率   |\n| :----:              | :---:          | :---:          |\n| propfull  |  刷新属性       |⭐⭐⭐|\n| propob  |  刷新集合属性       |⭐⭐⭐|\n| command   | 命令        |⭐⭐|\n| propdp    | 依赖属性    |⭐|\n| propa    | 附加属性    |⭐|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F944095635%2Fdmskin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F944095635%2Fdmskin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F944095635%2Fdmskin/lists"}