Dove.Avalonia.Controls.Extensions.ChineseInputSupoort
2.0.0-preview6
See the version list below for details.
dotnet add package Dove.Avalonia.Controls.Extensions.ChineseInputSupoort --version 2.0.0-preview6
NuGet\Install-Package Dove.Avalonia.Controls.Extensions.ChineseInputSupoort -Version 2.0.0-preview6
<PackageReference Include="Dove.Avalonia.Controls.Extensions.ChineseInputSupoort" Version="2.0.0-preview6" />
paket add Dove.Avalonia.Controls.Extensions.ChineseInputSupoort --version 2.0.0-preview6
#r "nuget: Dove.Avalonia.Controls.Extensions.ChineseInputSupoort, 2.0.0-preview6"
// Install Dove.Avalonia.Controls.Extensions.ChineseInputSupoort as a Cake Addin #addin nuget:?package=Dove.Avalonia.Controls.Extensions.ChineseInputSupoort&version=2.0.0-preview6&prerelease // Install Dove.Avalonia.Controls.Extensions.ChineseInputSupoort as a Cake Tool #tool nuget:?package=Dove.Avalonia.Controls.Extensions.ChineseInputSupoort&version=2.0.0-preview6&prerelease
Controls Extensions for Avalonia
WARNING
<strong>IN Avalonia 0.10.14,the NativeControlHost NEED app.manifest for Windows.IF NOT,THAT'S MAKE THE PlayerView
CANNOT WORKS NORMALLY!</strong>
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
</application>
</compatibility>
</assembly>
GUIDES
About danmaku control extension
About chinese support extension
DEMO screenshot
INPORTANT
To enable extension the UseDoveExtensions
method call should be present in your Program.cs file:
public static AppBuilder BuildAvaloniaApp()
=> AppBuilder.Configure<App>()
.UsePlatformDetect()
.UseDoveExtensions()
.LogToTrace();
ABOUT FOLDER
Base
Basic, public library
Controls
Control extension implementation
Utils
Extension Method Library
TODO LIST
CONTROLS
ProgressRing
inherit from Canvas,Implement loading animation
ClickableView
Views that can trigger the click event
GridView
a Multiple-Column ListView/ListBox,Just like GridView in UWP
GridViewItem
Item for GridViewItem,inherit from ListViewItem,with Left/Right Click Event
CircleImage
inherit from Ellipse,Round picture.Just like PersonPicture in UWP
ExpandableView
A view that shows items in a vertically scrolling two-level list PrimaryView
Main Item,show/hide the SecondView after selection SecondView show or hide when select PrimaryView
ImageBox
inherit from Image,loading image from http/https/local
ListView
inherit from ListBox,just like the ListView in UWP
ListViewItem
Item for ListView,inherit from ListBoxItem
MessageBox
Show message window
NotifyWindow
Notify message window,the transition animation can be displayed according to the preset and automatically closed after a certain period of time
PopupMenu
inherit from Window,close after selecting item and trigger the event
HorizontalItemsRepeater
inherit from ItemsRepeater,Horizontal layout with Clickable Item
VerticalItemsRepeater
inherit from ItemsRepeater,Vertical layout with Clickable Item
ItemsRepeaterContent
Item for ItemsRepeater with Clickable Event
ScrollView
inherit from ScrollViewer,extend sliding to the bottom, sliding to the top event
SeekSlider
inherit from
Slider
,extend value change eventPopupToast
inherit from Window,show message dialog and automatically shut down after a certain period of time
diff with
PopupDialog
, it's popuping in workarea who popuping in control/panelTextLabel
Run binding just LIKE WPF/UWP in
TextBlock
,withLineBreak
can wrap the textHyperlinkButton
the button style LIKE HyperlinkButton in UWP
AeroWindow
the window LIKE "Windows Aero" OR "Aero Grass"
ImageContentButton
the button show Image and Text
CheckBoxList
a grouping checkbox control
RadioButtonList
a grouping radiobutton control
Text
the
Shapes
control for text content,it is a child when you are usingcanvas
TipLabel
the
TextBlock
with border controlTextView
the control like
TextPresenter
,but it's draw by the textLayout,so supoort custom font in your projectEditTextView
the control like
TexBox
,but it's draw by the textLayout,so supoort custom font in your projectPathIcon
the same control in uwp
ImageIcon
the icon control load from image,just like
PathIcon
andSymbolIcon
SymbolIcon
the same control in uwp(but the
Glyph
Only valid in XAML)
EXTEND
ActualWidth
get visable control actual width
ActualHeight
get visable control actual height
GetPrivateField
get control/namescope private field
SetPrivateField
set value for control private field
GetPrivateProperty
get control private property
SetPrivateProperty
set value for control private property
MeasureString
get string text display width
AreClose
between value is too close or not
InvokePrivateMethod
call control private method
FindControls
find child control by control type
GetWindow
get window who own this control
Shutdown / TryShutdown
shutdown application
DANMAKU
WARNING
<strong>Need to reference Dove.Avalonia.Controls.Extensions.Danmaku package</strong>
CONTROLS
DanmakuView
use libwtfdanmaku libs draw danmaku,only work's on Windows
DanmakuNativeView
use Avalonia Animation draw danmaku,for all platforms
MEDIA
WARNING
<strong>Need to reference Dove.Avalonia.Extensions.Media package</strong>
<strong>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</strong>
<strong>NOW the Version >= 1.2.0,it's able to use ffmpeg playing video!!!!</strong>
<strong>Ah ! You can reference the ffmpeg libraries packages from Windows or Linux or MacOS</strong>
<strong>OH ! You can reference the bass libraries packages from Windows or Linux or MacOS</strong>
<strong>and the ManagedBass require the libraries is in your program root folder,the [Dove.Avalonia.Extensions.Media] has handle copy to the require path.but if you still get an init failed messsage,plz copy by yourself!!</strong>
<strong>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</strong>
<strong>if you need VideoView
or PlayerView
,you should install libVLC in your project before init!!! Windows or MAC</strong>
<strong>if you need AudioControl
,should download bass Libraries(.dll/.so/.dylib/.a) are separate for x86, x64, ARM by yourself. you can find out from here</strong>
To enable extension the UseAudioControl
AND UseVideoView
method call should be present in your Program.cs file,the 1st one is for AudioControl
,
the 2nd one is for VideoView
or PlayerView
,you can also call it according to your NEEDS:
public static AppBuilder BuildAvaloniaApp()
=> AppBuilder.Configure<App>()
.UsePlatformDetect()
.UseVideoView()
.UseAudioControl()
.LogToTrace();
VideoView Support
the
VideoView
inLibVLCSharp
,modified to support use inUserControl
PlayerView Support
the custom control for
VideoView
,it's just like in uwp/wpfAudioControl Support
the control playing audio without visual or occupy bounds
LANGUAGE
- Chinese Input Support <strong>Need to reference Dove.Avalonia.Controls.Extensions.ChineseInputSupport package</strong>
To enable extension the UseChineseInputSupport
method call should be present in your Program.cs file,you defined which controls(default is TextBox and TextPresenter):
public static AppBuilder BuildAvaloniaApp()
=> AppBuilder.Configure<App>()
.UsePlatformDetect()
.UseChineseInputSupport()
.LogToTrace();
If you need to use a global font in the App, you need to inherit ApplicationBase
in the App.xaml.cs
class
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Avalonia (>= 11.0.0-preview6)
- Avalonia.Skia (>= 11.0.0-preview6)
- CHSPinYinConv (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
2.0.1 | 145 | 8/10/2024 | |
2.0.0 | 285 | 7/16/2023 | |
2.0.0-preview6 | 150 | 4/13/2023 | |
2.0.0-preview5 | 142 | 4/11/2023 | |
2.0.0-preview4 | 152 | 3/10/2023 | |
2.0.0-preview3 | 162 | 11/6/2022 | |
2.0.0-preview1 | 177 | 9/17/2022 | |
1.3.1 | 276 | 4/13/2023 | |
1.3.0 | 415 | 11/14/2022 | |
1.2.2 | 354 | 11/13/2022 | |
1.2.1 | 489 | 8/20/2022 | |
1.2.0 | 507 | 7/8/2022 | |
1.1.9 | 511 | 6/15/2022 | |
1.1.8 | 544 | 5/12/2022 | |
1.1.7 | 528 | 5/5/2022 | |
1.1.6 | 604 | 3/4/2022 | |
1.1.5 | 576 | 2/28/2022 | |
1.1.4 | 451 | 2/16/2022 | |
1.1.3 | 456 | 2/14/2022 | |
1.1.2 | 456 | 1/27/2022 | |
1.1.1 | 291 | 12/25/2021 | |
1.1.0 | 310 | 12/8/2021 | |
1.0.6 | 444 | 11/7/2021 | |
1.0.5 | 381 | 8/19/2021 | |
1.0.4 | 430 | 8/19/2021 | |
1.0.3 | 344 | 8/13/2021 | |
1.0.2 | 440 | 7/28/2021 | |
1.0.1 | 384 | 7/27/2021 | |
1.0.0 | 375 | 7/7/2021 |