CPF/README.md
小红帽 fed94611e9
update README.md.
Signed-off-by: 小红帽 <761716178@qq.com>
2024-01-02 13:45:12 +00:00

79 lines
3.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# CPF
#### 介绍
C#跨平台UI框架
提供NETStandard2.0和net4的库通过Netcore可以跨平台支持Windows、Mac、LinuxNet4的可以支持XP。各个平台运行效果一致不依赖系统控件。<br/>
支持窗体控件任意透明支持异形窗体支持SVG图标显示。<br/>
支持动画数据绑定Mvvm模式CSS等简化依赖属性数据绑定的写法提供数据上下文和命令上下文来绑定直接用CSS和C#代码描述。<br/>
提供设计器生成C#代码和开发者工具查看和调试元素<br/>
和WPF一样的理念任何控件都可以任意设计模板来实现各种效果<br/>
除了使用平台相关API之外基本可以实现一次编写到处运行<br/>
全面支持国产化支持国产Linux + 龙芯、飞腾、兆芯、海光等CPU平台
**gitee** :https://gitee.com/csharpui/CPF <br/>
**github** :https://github.com/wsxhm/CPF
![输入图片说明](Other/2image.png)
![输入图片说明](Other/1image.png)
![输入图片说明](Other/image.png)
![输入图片说明](Other/yunchaobi.gif)
**Apache License 2.0**
#### 软件架构
软件架构说明
CPF为主要框架CPF.Skia为用skia做图形适配CPF.Windows、CPF.Linux、CPF.Mac、CPF.Android为各个平台的适配器
#### 使用说明
直接克隆/下载就可以编译直接启动ConsoleApp1看运行效果
CPF使用文档 http://cpf.cskin.net/Course/#/
#### 扩展库
https://gitee.com/csharpui/cpf.cef 使用CPF对cef的封装跨平台浏览器控件
https://gitee.com/csharpui/cpf.vlc 使用CPF对vlc的封装跨平台视频播放控件
#### 关于设计器
设计器不开源设计器是需要另外收费的免费模式可以刷新和预览不能拖拽和审查元素可以免费试用VIP一个月
更多详细内容可以到 http://cpf.cskin.net/
![输入图片说明](Other/3image.png)
![输入图片说明](Other/4image.png)
### Nugets
| Packages | Version |
|----------|-----------------------------------------|
| Xhm.CPF | [![NuGet Status](https://img.shields.io/nuget/v/Xhm.CPF.svg?style=flat)](https://www.nuget.org/packages/Xhm.CPF/)|
| Xhm.CPF.Windows | [![NuGet Status](https://img.shields.io/nuget/v/Xhm.CPF.Windows.svg?style=flat)](https://www.nuget.org/packages/Xhm.CPF.Windows/)|
| Xhm.CPF.Skia | [![NuGet Status](https://img.shields.io/nuget/v/Xhm.CPF.Skia.svg?style=flat)](https://www.nuget.org/packages/Xhm.CPF.Skia/)|
| Xhm.CPF.Linux | [![NuGet Status](https://img.shields.io/nuget/v/Xhm.CPF.Linux.svg?style=flat)](https://www.nuget.org/packages/Xhm.CPF.Linux/)|
| Xhm.CPF.Mac | [![NuGet Status](https://img.shields.io/nuget/v/Xhm.CPF.Mac.svg?style=flat)](https://www.nuget.org/packages/Xhm.CPF.Mac/)|
#### 参与贡献
打赏/捐赠
微信/支付宝
<img src="https://gitee.com/csharpui/CPF/raw/master/Other/weixin.png" title="微信">
<img src="https://gitee.com/csharpui/CPF/raw/master/Other/zhifubao.png" title="支付宝">
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
QQ群894952004