2026年2月11日
摘要:
ComboBoxSelectionBox.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://sche
阅读全文
posted @ 2026-02-11 11:23
dalgleish
阅读(13)
推荐(0)
2026年2月10日
摘要:
ExpandingDataTemplate.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://sch
阅读全文
posted @ 2026-02-10 12:53
dalgleish
阅读(7)
推荐(0)
2026年2月9日
摘要:
最终项目中,我已经把SingleCriteriaHighlightTemplateSelector写成了通用类,支持复杂的模板选择。这里先给出SingleCriteriaHighlightTemplateSelector的代码,作为例子展示。 SingleCriteriaHighlightTempl
阅读全文
posted @ 2026-02-09 11:34
dalgleish
阅读(8)
推荐(0)
摘要:
DataTemplateControls.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://sche
阅读全文
posted @ 2026-02-09 04:17
dalgleish
阅读(6)
推荐(0)
2026年2月8日
摘要:
DataTemplateByType.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schema
阅读全文
posted @ 2026-02-08 05:00
dalgleish
阅读(7)
推荐(0)
2026年1月30日
摘要:
常常看我的置顶,随时更新。https://www.cnblogs.com/dalgleish/p/18967204 最后的项目打包代码里,会有很多抽象通用StoreDB类等,用于加载SQLite,Json和Xml。通过动态解析类名,来匹配数据。由于代码太长,我就放到最后完结时,项目打包里。 Data
阅读全文
posted @ 2026-01-30 12:25
dalgleish
阅读(19)
推荐(0)
2026年1月19日
摘要:
VariedStyles.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micr
阅读全文
posted @ 2026-01-19 05:15
dalgleish
阅读(9)
推荐(0)
2026年1月5日
摘要:
CheckBoxList.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micr
阅读全文
posted @ 2026-01-05 06:54
dalgleish
阅读(18)
推荐(0)
2026年1月4日
摘要:
自定义扩展已经更新,增加了MessageBox类。https://www.cnblogs.com/dalgleish/p/18972924 RadioButtonList.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="h
阅读全文
posted @ 2026-01-04 03:16
dalgleish
阅读(16)
推荐(0)
2026年1月2日
摘要:
自己写一个ObjectDataProvider类 ObjectDataProvider.cs代码 using CommunityToolkit.Mvvm.ComponentModel; using System; using System.Collections; using System.Coll
阅读全文
posted @ 2026-01-02 08:00
dalgleish
阅读(16)
推荐(0)