摘要:
TextBlock复杂的使用,请参考https://www.cnblogs.com/dalgleish/p/18995027 由于Avalonia没有内置Hyperlink,所以我们自己实现一个就行了。老规矩,留了一个坑,大家可以增加功能实现超链接。 Hyperlink类,移动端需要自己单独实现。 阅读全文
posted @ 2025-07-21 12:36
dalgleish
阅读(77)
评论(0)
推荐(0)
摘要:
Tooltips.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsof 阅读全文
posted @ 2025-07-21 09:23
dalgleish
阅读(37)
评论(0)
推荐(0)
摘要:
关于如何把自定义控件加入到默认命名空间,请看之前的例子(https://www.cnblogs.com/dalgleish/p/18978564),之后不再强调,如果看不懂,那请从第一个例子开始学习。 C# Avalonia,没有内置GroupBox,但我们可以通过Style样式实现(xaml),此 阅读全文
posted @ 2025-07-21 05:31
dalgleish
阅读(223)
评论(0)
推荐(0)
摘要:
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)
浙公网安备 33010602011771号