Farrell23 / PanuonUI.Silver

Panuon.UI optimized version. A beautiful wpf ui library using templates & attached properties.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Panuon.UI.Silver

Panuon.UI optimized version. A beautiful wpf ui library using templates & attached properties.
Panuon.UI的优化版本。一个漂亮的、使用样式与附加属性的WPF UI控件库。

This is a developing program.
这是一个正在开发的项目。

Email : zeoun@qq.com
QQ Group : 718778191
Zhihu : @末城via

Examples 示例

Donate 捐赠

Panuon.UI.Silver is an open source library.Your support will motivate me to continue Panuon.UI.Silver development.
Panuon.UI.Silver是一个完全开源的控件库。您的支持是项目得以发展的根本保证。

Zhifubao:
支付宝:

Paypal:
paypal.me/Zeoun

Quick Start 开始使用

  1. Add "Panuon.UI.Silver.dll" to your project references.
    将"Panuon.UI.Silver.dll"添加到你项目的引用中。

  2. Append resource dictionary below to <MergedDictionaries> node in "App.xaml" , <Window.Resources> , or other resource nodes.
    将如下资源字典添加到App.xaml,<Window.Resource>或者其他资源节点下的<MergedDictionaries>中。

<ResourceDictionary Source="pack://application:,,,/Panuon.UI.Silver;component/Control.xaml" />
  1. Add reference in c#/xaml code
    在代码中添加引用。
(xaml)
xmlns:pu="clr-namespace:Panuon.UI.Silver;assembly=Panuon.UI.Silver"

(c#)
using Panuon.UI.Silver;
  1. Try it:
    开始使用:
(in xaml)
<Button x:Name="BtnTest" pu:ButtonHelper.ButtonStyle="Outline" />

Or 

(in c#)
ButtonHelper.SetButtonStyle(BtnTest, ButtonStyle.Outline);
  1. PanuonUI.Silver integrated with FontAwesome.Use it in your programs:
    PanuonUI.Silver内部集成了FontAwesome字体文件。你可以在你的项目中使用它:
(element property)
FontFamily="/Panuon.UI.Silver;component/Resources/#fontawesome"

(resource)
<FontFamily x:Key="IconFont">/Panuon.UI.Silver;component/Resources/#fontawesome</FontFamily>
...
FontFamily="{StaticResource IconFont}"

Copy icon from http://www.fontawesome.com.cn/cheatsheet
从如上链接中拷贝图标。

Overview 概览

Where is the document ? (文档在哪里?)

After downloading this repository, you can find document in our example program. Launch "Panuon.UI.Silver.Browser" project , and you will find it .
文档位于示例程序中。当您下载该仓库后,只需启动"Panuon.UI.Silver.Browser"项目,即可看到文档。

Work with helper (需要使用Helper的控件):

Button / CheckBox / RadioButton / TextBox / PasswordBox / ComboBox / Expander / GroupBox / Expander

Dependent custom controls (独立自定义控件):

Calendar / Carousel / Loading / MultiSelector / ImageCuter / TagPanel / NeonLabel / Clock / DateTimePicker

Styles only (仅样式):

DataGrid / ScrollViewer (MiniScrollViewer)

Button

CheckBox

RadioButton

ProgressBar

Calendar

Loading

DropDown

ImageCuter

About

Panuon.UI optimized version. A beautiful wpf ui library using templates & attached properties.

License:MIT License


Languages

Language:C# 100.0%