Channel | Toolkit | ThemeGallery |
---|---|---|
NuGet |
- WPF Controls - User Guide
- WPF Themes & Styles - Choose Theme
More See Guide Docs
- Add Namespace to xaml code
- Like this:
xmlns:cstk="http://schemas.canself.com/wpf/xaml/toolkit"
- Use Control
- Sample Code:
<cstk:IPAddrBox Text="192.168.1.1" />
- Use
.netstandard
style*.csproj
- For .Net Framework 4.5 and older
- You need Visual Studio 2019 Install SDK
- Visual Studio 2022 not support official, but Can Use Older SDK Installed By VS2019
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<UseWPF>true</UseWPF>
</PropertyGroup>
</Project>
- net45 and later reference changed
Notes: In Samples Project, Net40 xmlns namespace need change manual
<!-- replace System.Windows.Interactivity.dll -->
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.39" />
<!-- replace System.ComponentModel.DataAnnotations -->
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
WPF Toolkit: Xceed Extended WPF Toolkit: New Version (v4.0.0) License More Limited- MaterialDesignInXamlToolkit: Material Design in XAML & WPF
- ControlzEx: Shared Controlz for WPF
-
About
ScrollViewer
:Nesting ScrollViewer -- Scroll Parent when internal scrollviewer scroll to end;Scroll Vertical After Horizontal & Scroll Horizontal After Vertical- Auto Scroll[When content change] - always scroll to end & When mouse is pressed, mouse wheel scroll disable
-
About
PasswordTextBox
- passwordbox/passwordtextbox- Password Binding Support
- Show Password Support
-
About
DateTimePicker
Hour.Minute.Second
Support
-
Custom Window -
WindowChrome
Custom Min&Max&Close button- F11 max process,need hide close button
-
MessageBox support customization
-
custom FileDialog,FolderBrowserDialog
-
Watermark Input TextBox
-
MultiCheck ComboBox
-
TextBox with line number
-
ListBox With Grid Panel - use some attach helper?
-
Number TextBox With UpDown Button
- Double Number TextBox - Support dot input when use
UpdateSourceTrigger=PropertyChanged
- official TextBox not support
- Double Number TextBox - Support dot input when use
-
Add Style Lib - provide some common style
- common control style, e.g:TextBox,Button,ComboBox,etc.
- some company classical style imitation, e.g:google style/material,ms style/fluent,ali style/ant,
netease style,etc. - attention:ContextMenu style,avoid separator exception
-
Markdown support —— https://github.com/Kryptos-FR/markdig.wpf
-
EnumToDisplayNameConverter Enum Extention
- add Ignore Attribute —— Enum GetValues ignore signed
- 转中文数字大小写
-
Wait Mask
- delay hide —— e.g:hide wait message delay one second
-
常用validaterule-如数字。。。 -
添加datagrid类似控件,
- 修改行功能:弹窗窗体or控件修改行
- datagrid_冻结行列
- DataGridTextExtColumn——控制editstyle输入
-
进度条
- 圆形进度条 [在ThemeGallery中添加]
-
textboxext——isnumber属性,控制输入
-
下拉框提供空项,直接置null
-
文件浏览,文件保存-filebrowserdialog。。。
-
定期刷新支持的listcollectionview——支持设置刷新模式
- 立即刷新&定时刷新&堆栈数量刷新
-
Validation 数据验证,添加各类验证rule及界面验证 建议调用方法