Aura.UI 0.1.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aura.UI --version 0.1.2                
NuGet\Install-Package Aura.UI -Version 0.1.2                
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="Aura.UI" Version="0.1.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aura.UI --version 0.1.2                
#r "nuget: Aura.UI, 0.1.2"                
#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 Aura.UI as a Cake Addin
#addin nuget:?package=Aura.UI&version=0.1.2

// Install Aura.UI as a Cake Tool
#tool nuget:?package=Aura.UI&version=0.1.2                

Gitter NuGet downloads Discord

<h1 align="center"> <img src="DesignSources/auraui-logo.png" width="256"/> <br/><br/> Aura.UI </h1> <h2 align="center">Control's Library for Avalonia</h2>

Overview

  • Controls Availables

    • AuraTabItem : A Closable TabItem what has extra features.
    • TitleBar : Similar to GroupBox, but has 2 buttons and is easy-to-custom.
    • ColorPickerButton : A Toggle Button when you click it, shows a ColorPicker on a Window.
    • PagesView : A Pages Collection for simplify the life.
  • Controls in Developing

    • GradientEditor : This control creates a GradientBrush to use in other controls.
    • SuperListBoxItem : A Powered-ListBoxItem has a Button and two TextBlocks.
  • Windows Availables

    • ColorWindowSmall : This window shows a ColorPicker.
  • Windows in Developing:

    • ChangeColorWindow : This window creates a SolidColorBrush or GradientBrush.
  • Planned Controls and Windows for future versions:

    • ModernWindow : A window with TitleProperty like a UWP Window.
    • TabbedWindow : An optimized window to use with AuraTabItems.
    • NavigationView : A scrollable MenuItems, like UWP NavigationView.
    • StatusBar : This bar shows an status of application, it will use a class for the status.
  • UI Extensions

    • TabControlExtensions:
      CloseTab(this TabControl tabControl, TabItem tabItem) //CloseTab with itself
      CloseTab(this TabControl tabControl, int index) //CLoses Tab with index
      AddTab(this TabControl tabControl, TabItem TabItemToAdd,bool Focus)
      //Add a Tab 
    
    • TemplatedControlExtensions:
      GetControl<T>(this TemplatedControl templatedControl ,TemplateAppliedEventArgs e, string name) where T : AvaloniaObject
      //Return an AvaloniaObject from Template
    

Install

Now the library is available in Nuget.org.

<h2>First Step</h2>

Go to the next link: https://www.nuget.org/packages/Aura.UI .

<h2>Second Step</h2>

Install Aura.UI with Visual Studio or dotnetCLI:

<h3>Visual Studio</h3>

Open the Nuget Packages Manager on your project and search Aura.UI.

<img src="Pictures\vs_aura_ui.png" ></img>

<h3>Dotnet CLI</h3>

Open the terminal on the root folder of your project and write <br/>

dotnet add package Aura.UI --version 0.1.0

Do it like this:

<img src="Pictures/cli_aura_ui.png"></img>

Preparation

Add Styles to App.xaml

  <Application  xmlns="https://github.com/avaloniaui"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                x:Class="YourApp.App">
    <Application.Styles>
        <StyleInclude Source="avares://Avalonia.Themes.Default/DefaultTheme.xaml"/>
        <StyleInclude Source="avares://Avalonia.Themes.Default/Accents/BaseDark.xaml"/>
       <StyleInclude Source="avares://Aura.UI/AuraUI.xaml"/> 
    </Application.Styles>
  </Application>

Next add this using instructions:

using Aura.UI.Controls;
using Aura.UI.UIExtensions;
using Aura.UI.Windows;

Language Manager

What's that?

It's a tool to ease the changes of an application's language .

How to use

Add the using statements to App.xaml.cs and MainWindow.xaml

using Aura.UI.Managers;

On App.xaml.cs

public static ILanguageManager? Manager { get; set; }
public override void OnFrameworkInitializationCompleted()
        {
            if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
            {
                Manager = LanguageManager.Create("Languages");
                Manager.LoadSelectedLanguage("Language.theme");
                desktop.MainWindow = new MainWindow()
                {
                    DataContext = Manager
                };
                desktop.Exit += (sender , e) =>
                {
                    Manager.SaveSelectedLanguage("Language.theme");
                };
            }
            base.OnFrameworkInitializationCompleted();
        }

On MainWindow.xaml.cs

public MainWindow(){
   InitializeComponent();
   App.Selector.EnableThemes(this);
}

Finally, add this using statement to Program.cs

using Avalonia.Controls.ApplicationLifetimes;

About Aura.UI

This library is open source and free, in a few months come out the first stable version,for now, Aura.UI is a beta.

How To Collaborate

If you want to collaborate with this proyect, contact me with the next links:

  • Whatsapp
  • Messenger
  • Gitter
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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  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 (2)

Showing the top 2 NuGet packages that depend on Aura.UI:

Package Downloads
Aura.UI.FluentTheme

Aura.UI's Fluent Theme

HanumanInstitute.MvvmDialogs.Avalonia.AuraUI

Library simplifying the concept of opening dialogs from a view model when using MVVM in WPF

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Aura.UI:

Repository Stars
mysteryx93/HanumanInstitute.MvvmDialogs
Library simplifying the concept of opening dialogs from a view model when using MVVM
Version Downloads Last updated
0.1.5-dev-04 1,754 1/7/2022
0.1.4.2 6,084 11/7/2021
0.1.4.1 601 10/17/2021
0.1.4 691 10/10/2021
0.1.4-preview1 484 5/31/2021
0.1.3.1 994 4/15/2021
0.1.3 522 3/29/2021
0.1.3-rc3 308 2/26/2021
0.1.3-rc2 302 2/26/2021
0.1.3-rc1 306 2/5/2021
0.1.3-preview9 368 12/9/2020
0.1.3-preview8 420 11/15/2020
0.1.3-preview7 443 10/19/2020
0.1.3-preview6 376 10/11/2020
0.1.3-preview4 407 10/10/2020
0.1.3-preview3 470 9/23/2020
0.1.3-preview2 416 9/18/2020
0.1.3-preview1 499 9/12/2020
0.1.2 809 8/27/2020
0.1.1 802 8/2/2020 0.1.1 is deprecated because it is no longer maintained and has critical bugs.
0.1.0 1,079 8/2/2020 0.1.0 is deprecated because it is no longer maintained and has critical bugs.

First Beta Release