摘要:
Avalonia配置,参考https://www.cnblogs.com/dalgleish/p/18967204 AvaloniaExtensions.cs代码 using Avalonia; using Avalonia.Controls; using Avalonia.Controls.App
阅读全文
posted @ 2025-07-08 14:10
dalgleish
阅读(31)
推荐(0)
摘要:
1. 安装VS 2022 2. 打开x64 Native Tools Command Prompt for VS 2022,输入下面指令获取Avalonia模板 dotnet new install Avalonia.Templates 3. 在扩展中搜索“Avalonia for Visual S
阅读全文
posted @ 2025-07-05 14:17
dalgleish
阅读(21)
推荐(0)
2025年7月12日
摘要:
RawTouch.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsof
阅读全文
posted @ 2025-07-12 13:24
dalgleish
阅读(0)
推荐(0)
2025年7月11日
摘要:
ModularContent.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.mi
阅读全文
posted @ 2025-07-11 14:34
dalgleish
阅读(0)
推荐(0)
摘要:
LocalizableText.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.m
阅读全文
posted @ 2025-07-11 14:09
dalgleish
阅读(0)
推荐(0)
摘要:
TextBoxColumn.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.mic
阅读全文
posted @ 2025-07-11 13:57
dalgleish
阅读(1)
推荐(0)
摘要:
TheUniformGrid.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.mi
阅读全文
posted @ 2025-07-11 13:50
dalgleish
阅读(1)
推荐(0)
摘要:
这次继承C# Avalonia官方自带的Canvas,扩展一个InkCanvas,兼容Canvas的所有功能。为了简化自定义命名控件,建议把自定义控件加入到默认空间。 AssemblyInfo.cs代码如下 using System.Runtime.CompilerServices; using S
阅读全文
posted @ 2025-07-11 12:31
dalgleish
阅读(208)
推荐(0)
2025年7月10日
摘要:
SimpleCanvas.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micr
阅读全文
posted @ 2025-07-10 14:30
dalgleish
阅读(8)
推荐(0)
摘要:
SharedSizeGroup.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.m
阅读全文
posted @ 2025-07-10 14:25
dalgleish
阅读(4)
推荐(0)
摘要:
DoubleSplitWindow.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas
阅读全文
posted @ 2025-07-10 14:18
dalgleish
阅读(6)
推荐(0)
摘要:
SplitWindow.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micro
阅读全文
posted @ 2025-07-10 14:13
dalgleish
阅读(3)
推荐(0)