上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 23 下一页
  2025年8月2日
摘要: C# avalonia没有内置Mdi,继承Canvas实现一个。增加了选中虚线框功能。Fluent主题中,OnApplyTemplate获取的副本closeButton,无法像Simple主题那样,直接修改属性,因为Fluent主题样式会覆盖。所以,我们可以通过css或者代码产生css样式来控制cl 阅读全文
posted @ 2025-08-02 10:06 dalgleish 阅读(41) 评论(0) 推荐(0)
  2025年7月30日
摘要: 添加命令行参数,自定义扩展已经更新。 https://www.cnblogs.com/dalgleish/p/18972924 LoadFromCommandLine.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="htt 阅读全文
posted @ 2025-07-30 13:22 dalgleish 阅读(12) 评论(0) 推荐(0)
摘要: C# Avalonia没有内置的MediaElement,我们用LibVLC实现一个就行了。Avalonia官方实现的,要收费。配置文章里更新了。https://www.cnblogs.com/dalgleish/p/18967204 MediaElement类,实现了播放器大多数功能。 publi 阅读全文
posted @ 2025-07-30 11:03 dalgleish 阅读(84) 评论(0) 推荐(0)
  2025年7月25日
摘要: DateControls.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micr 阅读全文
posted @ 2025-07-25 16:09 dalgleish 阅读(25) 评论(0) 推荐(0)
摘要: IndeterminateProgressBar.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http:// 阅读全文
posted @ 2025-07-25 15:52 dalgleish 阅读(13) 评论(0) 推荐(0)
摘要: 目前Avalonia暂时没有内置RangeSlider,自己实现一个。由于官方的刻度,没有自己画出来,我们单独画出来就行。自行多暴露官方Slider的属性。 RangeSlider类 - 特殊版 public class RangeSlider : ContentControl { private 阅读全文
posted @ 2025-07-25 15:46 dalgleish 阅读(39) 评论(0) 推荐(0)
摘要: SliderTest.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micros 阅读全文
posted @ 2025-07-25 11:29 dalgleish 阅读(12) 评论(0) 推荐(0)
摘要: ComboBoxTest.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micr 阅读全文
posted @ 2025-07-25 11:00 dalgleish 阅读(33) 评论(0) 推荐(0)
  2025年7月24日
摘要: CheckBoxList.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micr 阅读全文
posted @ 2025-07-24 14:33 dalgleish 阅读(41) 评论(0) 推荐(0)
摘要: ImageList.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microso 阅读全文
posted @ 2025-07-24 11:39 dalgleish 阅读(12) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 23 下一页