摘要:
关于如何把自定义控件加入到默认命名空间,请看之前的例子(https://chuna2.787528.xyz/dalgleish/p/18978564),之后不再强调,如果看不懂,那请从第一个例子开始学习。 C# Avalonia,没有内置GroupBox,但我们可以通过Style样式实现(xaml),此 阅读全文
posted @ 2025-07-21 05:31
dalgleish
阅读(344)
评论(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
阅读(16)
评论(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
阅读(16)
评论(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
阅读(10)
评论(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
阅读(17)
评论(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
阅读(33)
评论(0)
推荐(0)
浙公网安备 33010602011771号