随笔分类 -  C# Avalonia

1 2 3 4 5 ··· 10 下一页
教程
C# Avalonia 23- OpenGL- 例子通用类
摘要:为了方便之后的例子展示,大家先把下面类加入到项目里。需要什么包,请参考置顶。 Frame3D类 using Avalonia.Controls; using Avalonia.Platform; using LibVLCSharp.Shared; using System; using System 阅读全文
posted @ 2026-07-20 08:33 dalgleish 阅读(6) 评论(0) 推荐(0)
C# Avalonia 22- SoundAndVideo- SpeechRecognition
摘要:SpeechRecognition.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas 阅读全文
posted @ 2026-07-17 12:29 dalgleish 阅读(7) 评论(0) 推荐(0)
C# Avalonia 22- SoundAndVideo- SpeechSynthesis
摘要:SpeechSynthesis.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.m 阅读全文
posted @ 2026-07-16 08:48 dalgleish 阅读(4) 评论(0) 推荐(0)
C# Avalonia 22- SoundAndVideo- CodePlayback
摘要:CodePlayback.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micr 阅读全文
posted @ 2026-07-15 15:12 dalgleish 阅读(7) 评论(0) 推荐(0)
C# Avalonia 22- SoundAndVideo- SoundPlayerTest
摘要:用我们之前写的MediaElement SoundPlayerTest.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns 阅读全文
posted @ 2026-05-10 10:39 dalgleish 阅读(17) 评论(0) 推荐(0)
C# Avalonia 21- MenusAndToolbars- RibbonTest
摘要:RibbonTest.axaml代码 <RibbonWindow xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas. 阅读全文
posted @ 2026-04-28 12:08 dalgleish 阅读(16) 评论(0) 推荐(0)
C# Avalonia 21- MenusAndToolbars- ProportionalStatusBar
摘要:ProportionalStatusBar.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://sch 阅读全文
posted @ 2026-04-13 13:47 dalgleish 阅读(21) 评论(0) 推荐(0)
C# Avalonia 21- MenusAndToolbars- BasicToolbar
摘要:BasicToolbar.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micr 阅读全文
posted @ 2026-04-13 02:03 dalgleish 阅读(22) 评论(0) 推荐(0)
C# Avalonia 21- MenusAndToolbars- ToolBar/Ribbon开源项目介绍和修复
摘要:在写例子前,大家先认识下大神的开源项目 Toolbar: https://github.com/Tulesha/ToolBarControls.Avalonia Ribbon: https://github.com/SachiHarshitha/Avalonia.Ribbon/tree/sachi 阅读全文
posted @ 2026-04-06 05:51 dalgleish 阅读(60) 评论(0) 推荐(0)
C# Avalonia 21- MenusAndToolbars- SidebarMenu
摘要:SidebarMenu.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micro 阅读全文
posted @ 2026-04-06 04:48 dalgleish 阅读(16) 评论(0) 推荐(0)
C# Avalonia 21- MenusAndToolbars- MixedMenus
摘要:MixedMenus.axaml <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsof 阅读全文
posted @ 2026-04-05 11:56 dalgleish 阅读(23) 评论(0) 推荐(0)
C# Avalonia 20 - WindowsMenu- 魔改Hyperlink - 使用例子
摘要:创建一个UserControl <UserControl xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micr 阅读全文
posted @ 2026-04-04 04:00 dalgleish 阅读(16) 评论(0) 推荐(0)
C# Avalonia 20 - WindowsMenu- 魔改Hyperlink
摘要:之前已经实现了一个简单Popup,但是没有实现超链接。现在我们有了WebView了,就可以开始魔改Hyperlink了,下一例子给出使用例子。 NavigationService.cs类,这个类可以替换跳转等。 public static class NavigationService { priv 阅读全文
posted @ 2026-03-29 15:25 dalgleish 阅读(13) 评论(0) 推荐(0)
C# Avalonia 20 - WindowsMenu- WebViewTest
摘要:WebViewTest.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micro 阅读全文
posted @ 2026-03-28 14:12 dalgleish 阅读(28) 评论(0) 推荐(0)
C# Avalonia 20 - WindowsMenu- WebView
摘要:Avalonia的WebView会收费,所以自己写一个,下一个例子给出使用例子。结构示意图。 WebView.cs代码 using Avalonia; using Avalonia.Controls; using Avalonia.Data; using Avalonia.Threading; us 阅读全文
posted @ 2026-03-24 14:13 dalgleish 阅读(79) 评论(0) 推荐(0)
C# Avalonia 20 - WindowsMenu- ModernWindowTest
摘要:ModernWindowChrome控件cs代码 using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Metadata; using Avalonia.Controls.Primitives; using Avalonia 阅读全文
posted @ 2026-03-23 10:55 dalgleish 阅读(15) 评论(0) 推荐(0)
C# Avalonia 20 - WindowsMenu- ModernWindow
摘要:下一个例子会把这个写成一个style + cs类,这样方便模板调用。 ModernWindow.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006 阅读全文
posted @ 2026-03-22 15:27 dalgleish 阅读(19) 评论(0) 推荐(0)
C# Avalonia 20 - WindowsMenu- TransparentWithShapes
摘要:TransparentWithShapes.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://sch 阅读全文
posted @ 2026-03-22 06:50 dalgleish 阅读(9) 评论(0) 推荐(0)
C# Avalonia 20 - WindowsMenu- TransparentBackground
摘要:TransparentBackground.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://sch 阅读全文
posted @ 2026-03-21 09:15 dalgleish 阅读(18) 评论(0) 推荐(0)
C# Avalonia 20 - WindowsMenu- OpenFileTest
摘要:OpenFileTest.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micr 阅读全文
posted @ 2026-03-20 08:57 dalgleish 阅读(18) 评论(0) 推荐(0)

1 2 3 4 5 ··· 10 下一页