上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 26 下一页
  2025年7月10日
摘要: LayoutRoundingTest.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schema 阅读全文
posted @ 2025-07-10 14:05 dalgleish 阅读(22) 评论(0) 推荐(0)
摘要: SimpleGrid.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micros 阅读全文
posted @ 2025-07-10 14:01 dalgleish 阅读(26) 评论(0) 推荐(0)
摘要: BasicDialogBox.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.mi 阅读全文
posted @ 2025-07-10 13:49 dalgleish 阅读(44) 评论(0) 推荐(0)
摘要: SimpleDock.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micros 阅读全文
posted @ 2025-07-10 13:42 dalgleish 阅读(39) 评论(0) 推荐(0)
摘要: SimpleWrap.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micros 阅读全文
posted @ 2025-07-10 13:34 dalgleish 阅读(24) 评论(0) 推荐(0)
摘要: 扩展中增加了获取当前主窗口的代码 public static Control Current(this Control topLevel) { var mainWindow = (Application.Current?.ApplicationLifetime as IClassicDesktopS 阅读全文
posted @ 2025-07-10 13:16 dalgleish 阅读(53) 评论(0) 推荐(0)
  2025年7月9日
摘要: 扩展请参考 https://chuna2.787528.xyz/dalgleish/p/18972924 NonCompiledXaml.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.micro 阅读全文
posted @ 2025-07-09 13:32 dalgleish 阅读(683) 评论(0) 推荐(5)
  2025年7月8日
摘要: Avalonia配置,参考https://chuna2.787528.xyz/dalgleish/p/18967204 随时更新,目前已支持多个cs文件动态编译。 AvaloniaExtensions.cs代码 using Avalonia; using Avalonia.Controls; using 阅读全文
posted @ 2025-07-08 14:10 dalgleish 阅读(261) 评论(0) 推荐(0)
  2025年7月5日
摘要: EightBall.axaml <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft 阅读全文
posted @ 2025-07-05 15:49 dalgleish 阅读(45) 评论(0) 推荐(0)
摘要: 项目结构 小技巧,修改AvaloniaUI.csproj,让下面代码替换所有ItemGroup。这样的好处是,以后Resources下建立的xaml,默认是AvaloniaResource,然后Resource\Xamls下的,是正常文件。 <ItemGroup> <AvaloniaResource 阅读全文
posted @ 2025-07-05 15:18 dalgleish 阅读(195) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 26 下一页