摘要:
C# avalonia没有内置判断属性是否绑定的代码,所以我们自己扩展实现一个。这个扩展可以用于动态解绑和绑定属性。基于我写的自定义扩展。 https://www.cnblogs.com/dalgleish/p/18972924 AvaloniaObjectExtensions代码 using Av
阅读全文
posted @ 2025-08-05 07:04
dalgleish
阅读(36)
推荐(0)
摘要:
Avalonia配置,参考https://www.cnblogs.com/dalgleish/p/18967204 随时更新,目前已支持多个cs文件动态编译。 AvaloniaExtensions.cs代码 using Avalonia; using Avalonia.Controls; using
阅读全文
posted @ 2025-07-08 14:10
dalgleish
阅读(228)
推荐(0)
摘要:
导航https://www.cnblogs.com/dalgleish/category/2465190.html?page=1 1. 安装VS 2022 2. 打开x64 Native Tools Command Prompt for VS 2022,输入下面指令获取Avalonia模板 dotn
阅读全文
posted @ 2025-07-05 14:17
dalgleish
阅读(1020)
推荐(1)
2026年3月19日
摘要:
自己写一个Setting类,支持jason,ini格式。直接写入和读取对象,ISettingBackend用于配置加密,压缩等自定义。 using System; using System.Collections; using System.Collections.Concurrent; using
阅读全文
posted @ 2026-03-19 11:19
dalgleish
阅读(2)
推荐(0)
2026年3月18日
摘要:
CenterScreen.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micr
阅读全文
posted @ 2026-03-18 11:33
dalgleish
阅读(2)
推荐(0)
2026年2月20日
摘要:
DataGridGrouping.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.
阅读全文
posted @ 2026-02-20 12:10
dalgleish
阅读(17)
推荐(0)
2026年2月18日
摘要:
DirectoryTreeView.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas
阅读全文
posted @ 2026-02-18 11:11
dalgleish
阅读(6)
推荐(0)
2026年2月16日
摘要:
BoundTreeView.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.mic
阅读全文
posted @ 2026-02-16 10:04
dalgleish
阅读(11)
推荐(0)
2026年2月14日
摘要:
CustomListViewTest.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schema
阅读全文
posted @ 2026-02-14 12:27
dalgleish
阅读(8)
推荐(0)
2026年2月13日
摘要:
BasicListView.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.mic
阅读全文
posted @ 2026-02-13 10:25
dalgleish
阅读(5)
推荐(0)
2026年2月12日
摘要:
NavigateCollection.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schema
阅读全文
posted @ 2026-02-12 13:23
dalgleish
阅读(5)
推荐(0)
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
阅读(7)
推荐(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
阅读(6)
推荐(0)