Sign in Sign up
nuget

WPFTemplateLib

更新内容: *********************************************** 1、[优化] [自定义控件] CircleWithInOutText:默认样式不再设置 DataContext 为自身(CirclePlacement 变化改用 Trigger 而不是 DataTrigger 进行反应)。 2、[增强] [附加属性托管类] RadioButtonAttached 中新增 CirclePlacement 和 DistanceBetweenCircleAndText 属性。 3、[增强] [样式] LibSty.RadioButton.Border 新增支持 RadioButtonAttached.CirclePlacement(圆环放置位置)、DistanceBetweenCircleAndText(圆环和文字间距,可替代之前的一些 Margin 设置)。 *********************************************** 本库为一款【WPF 帮助类库】,包含但不限于以下内容: 01、MVVM 基础支持类(命令:RelayCommand;绑定:ObservableObject、SimpleBindableBase、NotifyDataErrorObject、ViewModelBase)。 02、WPF 帮助类(BindingProxy、ResourceBinding、MediaColorHelper、FrameworkElementHelper、ConverterHelper 等)。 03、附加属性帮助类(WpfXamlPropProxy、BringIntoViewBehavior、ExportPicAttached、WpfTouchScrollHelper、GridHelper、FocusAttached、DataGridAttached、 TextBoxAttached、LabelAttached、RadioButtonAttached、RotateToTranslateAttachedV2、LocationTargetRenderOriginAttached、TabControlAttached 等)。 04、行为类(DragInCanvasBehavior、SelectedItemBehavior、AttachAdornerBehavior 等)。 05、样式(引入方式:<ResourceDictionary Source="pack://application:,,,/WPFTemplateLib;component/Styles/StyleDictionary.xaml" />); 默认主题(不引入则不设置默认样式)(引入方式:<ResourceDictionary Source="pack://application:,,,/WPFTemplateLib;component/Styles/DefaultThemeDictionary.xaml" />); 颜色主题(部分控件有效):[默认]蓝色(*/Light.Blue.xaml)、绿色(<ResourceDictionary Source="pack://application:,,,/WPFTemplateLib;component/Themes/Light.Green.xaml" />)。 06、转换器("引入方式:<ResourceDictionary Source="pack://application:,,,/WPFTemplateLib;component/WpfConverters/ConverterDictionary.xaml" />) 07、配置属性系统(ConfigManager)。 08、自定义控件(Toast、ToastTextBlock、SystemDropShadowChrome、XUI:Form、PanelWithMessage、CircleWithInOutText、PP:CornerClip、FlipableControl、FlipableContentControl、 Handy:UniformSpacingPanel、PP:DateTimePicker、PP:SimplePanel、Handy:Row/Col、AutoGrid、TitleValueUnit、fruit:Table、fruit:PasswordInput、mah:MetroHeader 等)。 09、用户控件(UC_InfoRegion、CircleWithTextBox、UC_Wait、UC_ConfirmBox 等)。 10、类型转换器(EnumDescriptionTypeConverter)。 11、在行为中使用的事件触发器(RoutedEventTrigger)。 12、增强类(FixedCountObservableCollection、RangeObservableCollection 等)。 13、一个常用值类 CommonValues(目前有两个布尔值:TrueValue、FalseValue)。 14、标记扩展(lib:IntValue、SolidColorBrushValue、BoolValue、VisibilityValue 等)。 基础说明: - Xaml 命名空间:xmlns:lib="https://gitee.com/dlgcy/WPFTemplateLib" 。 - 样式以"LibSty"开头,控件模版以"LibTpl"开头。WPF 系统样式以"SysSty"开头,控件模板以"SysTpl"开头。 - 转换器列表:https://gitee.com/dlgcy/WPFTemplateLib/blob/master/WpfConverters/ConverterDictionary.xaml - 默认主题的内容:https://gitee.com/dlgcy/WPFTemplateLib/blob/master/Styles/DefaultThemeDictionary.xaml - 转换器等地方需要指定值转换模式的,使用以下枚举名或值:Visibility(1)、Bool(2)、String(3)、Int(4)、Float(5)、Double(6)、SolidColorBrush(7)、UInt(8)、Short(9)、UShort(10)、Byte(11)、Long(12)。 或者整体使用[静态类]UsefulConvertParaStr,如:UsefulConvertParaStr.VisibleCollapsed、TrueFalse。 使用方法详见: 0、https://gitee.com/dlgcy/WPFTemplateLib/blob/master/ReadMe.md 1、https://gitee.com/dlgcy/DLGCY_WPFPractice 2、https://gitee.com/dlgcy/WPFTemplate 3、https://dlgcy.com 4、https://gitee.com/dlgcy/WpfAnimationDemo AI 使用技能:https://gitee.com/dlgcy/WpfDevSkill/blob/master/SKILL.md 一部分是搬运修改网上的资源,一部分是自己原创,以自用为主,感兴趣的朋友也可以使用,欢迎交流讨论(微信公众号:独立观察员博客)。 重要更改基本在本人业余时间完成,仅代表个人立场,与本人所在公司无关。 免责声明:本库及维护者不对使用产生的任何问题负责,请自行充分测试。 严正声明:禁止在 996 以及相似类型的公司中使用本库。

nuget View on Nuget

Activity

Latest release
1w ago
Total releases
136
Cadence
~7 days
Last 12 months
27

Details

First release
Mar 14, 2023
Releases
Version Released
7.5.1 patch
7.5.0 minor
7.4.0 minor
7.3.3 patch
7.3.2 patch
7.3.1 patch
7.3.0 minor
7.2.0 minor
7.1.0 minor
7.0.0 major
6.26.5.1001 patch
6.26.4.1901 patch
6.26.3.3001 patch
6.26.3.2001 patch
6.26.3.1401 patch
6.26.2.401 patch
6.26.2.101 patch
6.26.1.1001 minor
6.25.12.2901 patch
6.25.12.1101 patch
6.25.11.2501 patch
6.25.11.2401 patch
6.25.11.2301 patch
6.25.11.1601 patch
6.25.11.1101 patch
6.25.10.3101 patch
6.25.10.1401 patch
6.25.9.1901 patch
6.25.9.1401 patch
6.25.9.1301 patch
6.25.8.2701 patch
6.25.8.2501 patch
6.25.8.1502 patch
6.25.8.1501 patch
6.25.8.301 patch
6.25.7.2901 patch
6.25.7.1201 patch
6.25.7.402 patch
6.25.7.401 patch
6.25.7.201 patch
6.25.6.2401 patch
6.25.6.201 patch
6.25.5.3001 patch
6.25.5.2901 patch
6.25.5.2202 patch
6.25.5.2201 patch
6.25.5.1201 patch
6.25.5.501 patch
6.25.4.2401 patch
6.25.4.2302 patch
1–50 of 136