Dove.Avalonia.Controls.Extensions 2.0.0-preview5

This is a prerelease version of Dove.Avalonia.Controls.Extensions.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Dove.Avalonia.Controls.Extensions --version 2.0.0-preview5                
NuGet\Install-Package Dove.Avalonia.Controls.Extensions -Version 2.0.0-preview5                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Dove.Avalonia.Controls.Extensions" Version="2.0.0-preview5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dove.Avalonia.Controls.Extensions --version 2.0.0-preview5                
#r "nuget: Dove.Avalonia.Controls.Extensions, 2.0.0-preview5"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Dove.Avalonia.Controls.Extensions as a Cake Addin
#addin nuget:?package=Dove.Avalonia.Controls.Extensions&version=2.0.0-preview5&prerelease

// Install Dove.Avalonia.Controls.Extensions as a Cake Tool
#tool nuget:?package=Dove.Avalonia.Controls.Extensions&version=2.0.0-preview5&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 media extension

About control extension

About danmaku control extension

About chinese support extension

DEMO screenshot

图片alt

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 event

  • PopupToast

    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/panel

  • TextLabel

    Run binding just LIKE WPF/UWP in TextBlock,with LineBreak can wrap the text

  • HyperlinkButton

    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 using canvas

  • TipLabel

    the TextBlock with border control

  • TextView

    the control like TextPresenter,but it's draw by the textLayout,so supoort custom font in your project

  • EditTextView

    the control like TexBox,but it's draw by the textLayout,so supoort custom font in your project

  • PathIcon

    the same control in uwp

  • ImageIcon

    the icon control load from image,just like PathIcon and SymbolIcon

  • 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 in LibVLCSharp,modified to support use in UserControl

  • PlayerView Support

    the custom control for VideoView,it's just like in uwp/wpf

  • AudioControl Support

    the control playing audio without visual or occupy bounds

LANGUAGE

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Dove.Avalonia.Controls.Extensions:

Package Downloads
Dove.Avalonia.Extensions.Media

Media Controls Extensions for Avalonia.if you need `VideoView` or `PlayerView`,you should install libVLC in your project before init!!! [Windows](https://www.nuget.org/packages/VideoLAN.LibVLC.Windows/) or [MAC](https://www.nuget.org/packages/VideoLAN.LibVLC.Mac/).in Windows,you need add app.manifest and supportOS,you can copy from readme.md the use.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 https://github.com/ManagedBass/ManagedBass

Dove.Avalonia.Controls.Extensions.Danmaku

Controls Extensions for Avalonia.

Dove.Avalonia.Extensions.WebView

WebView Extensions for Avalonia.

Dove.Avalonia.Controls.Extensions.Danmaku86

Controls Extensions for Avalonia.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.5 249 8/10/2024
2.0.4 264 8/10/2024
2.0.3 1,665 10/24/2023
2.0.2 170 9/21/2023
2.0.1 1,778 7/17/2023
2.0.0 1,182 7/16/2023
2.0.0-preview6 1,034 4/13/2023
2.0.0-preview5 1,006 4/11/2023
2.0.0-preview4 180 3/10/2023
2.0.0-preview3 1,032 11/6/2022
2.0.0-preview2 213 9/22/2022
2.0.0-preview1 1,707 9/17/2022
1.9.6 1,291 4/13/2023
1.9.5 372 2/5/2023
1.9.4 371 1/28/2023
1.9.3 326 1/28/2023
1.9.2 2,375 11/23/2022
1.9.1 389 11/13/2022
1.9.0 1,514 11/12/2022 1.9.0 is deprecated because it has critical bugs.
1.8.18 361 11/11/2022
1.8.17 381 11/7/2022
1.8.16 398 11/7/2022
1.8.15 420 11/6/2022
1.8.14 1,931 11/3/2022
1.8.13 2,414 10/27/2022
1.8.12 732 9/29/2022
1.8.11 481 9/26/2022
1.8.10 734 9/22/2022
1.8.9 4,732 8/31/2022
1.8.8 1,002 8/20/2022
1.8.7 516 8/16/2022
1.8.6 509 8/11/2022
1.8.5 508 7/18/2022
1.8.4 1,817 7/8/2022
1.8.3 1,861 6/15/2022
1.8.2 645 5/25/2022
1.8.1 1,843 5/19/2022
1.8.0 591 5/19/2022 1.8.0 is deprecated because it has critical bugs.
1.7.6 550 5/19/2022
1.7.5 2,521 5/12/2022
1.7.4 502 5/7/2022
1.7.3 3,322 5/6/2022
1.7.2 581 5/5/2022
1.7.1 491 4/27/2022
1.7.0 523 4/11/2022
1.6.9 548 4/10/2022
1.6.8 530 3/21/2022
1.6.7 527 3/21/2022
1.6.6 528 3/4/2022
1.6.5 550 2/28/2022
1.6.4 524 2/22/2022
1.6.3 500 2/22/2022
1.6.2 498 2/15/2022
1.6.1 485 2/14/2022
1.6.0 513 2/10/2022
1.5.9 518 2/8/2022
1.5.8 573 2/4/2022 1.5.8 is deprecated because it has critical bugs.
1.5.7 517 1/31/2022
1.5.6 530 1/27/2022
1.5.5 525 1/17/2022
1.5.4 367 12/26/2021
1.5.3 362 12/25/2021
1.5.2 384 12/12/2021
1.5.1 370 12/9/2021
1.5.0 371 12/8/2021
1.4.8 515 11/7/2021
1.4.7 459 10/4/2021
1.4.6 473 8/29/2021
1.4.5 435 8/19/2021
1.4.4 406 8/19/2021
1.4.3 400 8/15/2021
1.4.2 407 8/13/2021
1.4.1 443 8/11/2021
1.4.0 425 8/9/2021
1.3.9 547 8/7/2021
1.3.8 470 8/4/2021
1.3.7 451 7/28/2021
1.3.6 461 7/27/2021
1.3.5 449 7/27/2021
1.3.4 575 7/27/2021 1.3.4 is deprecated because it has critical bugs.
1.3.3 442 7/26/2021
1.3.2 508 7/11/2021
1.3.1 449 7/7/2021
1.3.0 429 7/6/2021
1.2.9 430 7/3/2021
1.2.8 590 7/3/2021 1.2.8 is deprecated because it has critical bugs.
1.2.7 499 7/3/2021
1.2.6 416 7/2/2021
1.2.5 466 6/27/2021
1.2.4 539 6/27/2021
1.2.3 439 6/25/2021
1.2.2 475 6/14/2021
1.2.1 504 6/13/2021
1.2.0 443 6/13/2021
1.1.8 486 6/13/2021
1.1.7 451 6/13/2021
1.1.6 475 6/12/2021
1.1.5 482 6/11/2021
1.1.4 415 6/10/2021
1.1.3 454 5/26/2021
1.1.2 511 5/18/2021
1.1.1 572 5/18/2021 1.1.1 is deprecated because it has critical bugs.
1.1.0 421 4/22/2021
1.0.5 462 4/22/2021
1.0.4 455 4/18/2021
1.0.3 437 4/16/2021
1.0.2 494 4/15/2021 1.0.2 is deprecated because it is no longer maintained.
1.0.1 439 4/14/2021
1.0.0 419 4/7/2021