随笔分类 - C# Avalonia
教程
C# Avalonia 23- OpenGL- 例子通用类
摘要:为了方便之后的例子展示,大家先把下面类加入到项目里。需要什么包,请参考置顶。 Frame3D类 using Avalonia.Controls; using Avalonia.Platform; using LibVLCSharp.Shared; using System; using System
阅读全文
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
阅读全文
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
阅读全文
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
阅读全文
C# Avalonia 22- SoundAndVideo- SoundPlayerTest
摘要:用我们之前写的MediaElement SoundPlayerTest.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns
阅读全文
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.
阅读全文
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
阅读全文
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
阅读全文
C# Avalonia 21- MenusAndToolbars- ToolBar/Ribbon开源项目介绍和修复
摘要:在写例子前,大家先认识下大神的开源项目 Toolbar: https://github.com/Tulesha/ToolBarControls.Avalonia Ribbon: https://github.com/SachiHarshitha/Avalonia.Ribbon/tree/sachi
阅读全文
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
阅读全文
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
阅读全文
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
阅读全文
C# Avalonia 20 - WindowsMenu- 魔改Hyperlink
摘要:之前已经实现了一个简单Popup,但是没有实现超链接。现在我们有了WebView了,就可以开始魔改Hyperlink了,下一例子给出使用例子。 NavigationService.cs类,这个类可以替换跳转等。 public static class NavigationService { priv
阅读全文
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
阅读全文
C# Avalonia 20 - WindowsMenu- WebView
摘要:Avalonia的WebView会收费,所以自己写一个,下一个例子给出使用例子。结构示意图。 WebView.cs代码 using Avalonia; using Avalonia.Controls; using Avalonia.Data; using Avalonia.Threading; us
阅读全文
C# Avalonia 20 - WindowsMenu- ModernWindowTest
摘要:ModernWindowChrome控件cs代码 using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Metadata; using Avalonia.Controls.Primitives; using Avalonia
阅读全文
C# Avalonia 20 - WindowsMenu- ModernWindow
摘要:下一个例子会把这个写成一个style + cs类,这样方便模板调用。 ModernWindow.axaml代码 <Window xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006
阅读全文
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
阅读全文
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
阅读全文
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
阅读全文
浙公网安备 33010602011771号