# WeUiSharp **Repository Path**: comking/WeUiSharp ## Basic Information - **Project Name**: WeUiSharp - **Description**: 基于 WPF 实现的仿 Windows 桌面版微信 UI 界面库 An unofficial UI library for Windows WeChat based on WPF implementation - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2025-06-24 - **Last Updated**: 2025-06-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

WeUiSharp

中文 | English

基于 WPF 实现的仿 Windows 桌面版微信 UI 界面库
An unofficial UI library for Windows WeChat based on WPF implementation

.NET Framework Version nuget-version Nuget

## Features * .NET Framework >= 4.7.2 * Multi-language dynamic switching * Dynamic theme switching (TODO: dark theme) * MIT license, open source and free for commercial use ## Overview ![Overview](https://raw.githubusercontent.com/IUpdatable/WeUiSharp/master/Resources/Overview.png) ## Getting Started 1. Create a WPF project based on .NET Framework 4.7.2+(Recommended Use: [Prism](https://github.com/PrismLibrary/Prism) ,use [Prism Template](https://marketplace.visualstudio.com/items?itemName=BrianLagunas.PrismTemplatePack) create project); 2. NuGet install `WeUiSharp` 3. Modify `App.xaml` and add the following resources: ```xml ``` 4. Modify the file `MainWindow.xaml`, change `Window` to `weui:Window`, and add a reference to `weui`: ```xml ``` 5. Modify `MainWindow.xaml.cs` to cancel the inheritance relationship from `Window` ```CSharp public partial class MainWindow { public MainWindow() { InitializeComponent(); } } ``` 6. Compile and run, you should be able to see the following effect interface: ![Hello Wrorld](https://raw.githubusercontent.com/IUpdatable/WeUiSharp/master/Resources/HelloWeUiSharp.png) Complete code: [WeUiSharp.HelloWorld](https://github.com/IUpdatable/WeUiSharp/tree/master/Src/WeUiSharp.HelloWorld) Complete code of Hello Wrorld project based on Prism framework: [WeUiSharp.HelloWorldWithPrism](https://github.com/IUpdatable/WeUiSharp/tree/master/Src/WeUiSharp.HelloWorldWithPrism) ## Components * [Window](https://github.com/IUpdatable/WeUiSharp/wiki/2.-Components#Window) * [Button](https://github.com/IUpdatable/WeUiSharp/wiki/2.-Components#Button) * [ToggleButton](https://github.com/IUpdatable/WeUiSharp/wiki/2.-Components#ToggleButton) * [PathButton](https://github.com/IUpdatable/WeUiSharp/wiki/2.-Components#PathButton) * [IconButton](https://github.com/IUpdatable/WeUiSharp/wiki/2.-Components#IconButton) * [Field](https://github.com/IUpdatable/WeUiSharp/wiki/2.-Components#Field) * [CheckBox](https://github.com/IUpdatable/WeUiSharp/wiki/2.-Components#CheckBox) * [ComboBox](https://github.com/IUpdatable/WeUiSharp/wiki/2.-Components#ComboBox) * [MessageBox](https://github.com/IUpdatable/WeUiSharp/wiki/2.-Components#MessageBox) * [ContextMenu](https://github.com/IUpdatable/WeUiSharp/wiki/2.-Components#ContextMenu) * [Toast](https://github.com/IUpdatable/WeUiSharp/wiki/2.-Components#Toast) * [Alert](https://github.com/IUpdatable/WeUiSharp/wiki/2.-Components#Alert) ## Feedback **PS: I'm looking for a job recently, you can contact me if you have a job recommendation.** * E-mail: IUpdatable@163.com * WeChat Official Account:

## License MIT