上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 23 下一页
  2025年7月21日
摘要: LabelTest.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microso 阅读全文
posted @ 2025-07-21 04:46 dalgleish 阅读(6) 评论(0) 推荐(0)
摘要: ButtonWithShape.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.m 阅读全文
posted @ 2025-07-21 04:27 dalgleish 阅读(10) 评论(0) 推荐(0)
摘要: ButtonsWithContent.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schema 阅读全文
posted @ 2025-07-21 04:07 dalgleish 阅读(6) 评论(0) 推荐(0)
摘要: GdiTextRendering.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas. 阅读全文
posted @ 2025-07-21 03:32 dalgleish 阅读(12) 评论(0) 推荐(0)
摘要: App.axaml配置 <Application xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="AvaloniaUI.App" Request 阅读全文
posted @ 2025-07-21 02:33 dalgleish 阅读(24) 评论(0) 推荐(0)
  2025年7月20日
摘要: DragAndDrop.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micro 阅读全文
posted @ 2025-07-20 16:53 dalgleish 阅读(49) 评论(0) 推荐(0)
摘要: 继续扩展Input类 (https://www.cnblogs.com/dalgleish/p/18992754),增加IPointer私有变量,用作Capture功能的实现。 private static IPointer? pointer; private static void OnRawEv 阅读全文
posted @ 2025-07-20 13:04 dalgleish 阅读(20) 评论(0) 推荐(0)
  2025年7月19日
摘要: Focus.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.c 阅读全文
posted @ 2025-07-19 12:48 dalgleish 阅读(23) 评论(0) 推荐(0)
摘要: 实现类似WPF的KeyBoard,命名为Input类。 代码如下 using Avalonia; using Avalonia.Controls; using Avalonia.Input; using Avalonia.Input.Raw; using Avalonia.Interactivity 阅读全文
posted @ 2025-07-19 12:43 dalgleish 阅读(47) 评论(0) 推荐(0)
  2025年7月14日
摘要: Avalonia最新版本,默认拦截了TextInputEvent事件,所以无法通过xaml来定义。 OnlyNumbers.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft. 阅读全文
posted @ 2025-07-14 11:13 dalgleish 阅读(15) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 23 下一页