Aura.UI
0.1.3-preview2
See the version list below for details.
dotnet add package Aura.UI --version 0.1.3-preview2
NuGet\Install-Package Aura.UI -Version 0.1.3-preview2
<PackageReference Include="Aura.UI" Version="0.1.3-preview2" />
paket add Aura.UI --version 0.1.3-preview2
#r "nuget: Aura.UI, 0.1.3-preview2"
// Install Aura.UI as a Cake Addin #addin nuget:?package=Aura.UI&version=0.1.3-preview2&prerelease // Install Aura.UI as a Cake Tool #tool nuget:?package=Aura.UI&version=0.1.3-preview2&prerelease
<h1 align="center"> <img src="DesignSources/auraui-logov2.png" width="256"/> <br/><br/> Aura.UI </h1>
<h2 align="center">Control's Library for Avalonia</h2>
Overview
Controls Availables
- AuraTabItem
- AuraTabView
- SuperColorPicker
- ColorPickerButton
- PagesView
- GroupBox
- FilledSlider
- ModernSlider
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:
- 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.3-preview1
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"/>
<StyleInclude Source="avares://Aura.UI/AuraAcrylicBase.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. <img src="DocumentationGifs/Language_Testing.gif">
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.Manager.EnableLanguages(this);
}
Finally, add this using statement to Program.cs
using Avalonia.Controls.ApplicationLifetimes;
Controls
AuraTabItem
A Closable TabItem what has extra features. <img src="DocumentationGifs/AuraTabItem_Adding_Closing.gif">
AuraTabView
Is similar to TabControl, but this can add new tabs with a built-in button, also its tabs reduce its width when the spacing is little. <img src="DocumentationGifs/AuraTabView_Adding_Testing.gif">
TitleBox
Similar to GroupBox, but has 2 buttons and is easy-to-custom. <img src="DocumentationGifs/TitleBox_ReScaling.gif">
SuperColorPicker
This color picker can modify the opacity and the color of a SolidColorBrush, and let you see a preview, too. <img src="DocumentationGifs/SuperColorPicker_Testing.gif">
ColorPickerButton
A Toggle Button when you click it, shows a ColorPicker on a Window. <img src="DocumentationGifs/ColorPickerButton_Testing.gif">
PagesView
A Pages Collection for simplify the life. <img src="DocumentationGifs/PagesView_Testing.gif">
ModernSlider
This Slider imitates the Android Slider, but uses the Acrylic Textures! <img src="DocumentationGifs/ModernSlider_Testing.gif">
GroupBox
This Control has a header and that show it in the top. <img src="DocumentationGifs/GroupBox_WO_Material_ReScaling.gif">
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:
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 (>= 0.10.0-preview5)
- Avalonia.Desktop (>= 0.10.0-preview5)
- Avalonia.Diagnostics (>= 0.10.0-preview5)
- Avalonia.Markup.Xaml.Loader (>= 0.10.0-preview5)
- Avalonia.ReactiveUI (>= 0.10.0-preview5)
- ColorPicker (>= 0.10.0-preview2)
- MessageBox.Avalonia (>= 0.9.6.1)
- Microsoft.Toolkit.Parsers (>= 6.1.0)
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,740 | 1/7/2022 | |
0.1.4.2 | 6,026 | 11/7/2021 | |
0.1.4.1 | 597 | 10/17/2021 | |
0.1.4 | 687 | 10/10/2021 | |
0.1.4-preview1 | 480 | 5/31/2021 | |
0.1.3.1 | 989 | 4/15/2021 | |
0.1.3 | 518 | 3/29/2021 | |
0.1.3-rc3 | 304 | 2/26/2021 | |
0.1.3-rc2 | 298 | 2/26/2021 | |
0.1.3-rc1 | 302 | 2/5/2021 | |
0.1.3-preview9 | 364 | 12/9/2020 | |
0.1.3-preview8 | 416 | 11/15/2020 | |
0.1.3-preview7 | 439 | 10/19/2020 | |
0.1.3-preview6 | 372 | 10/11/2020 | |
0.1.3-preview4 | 403 | 10/10/2020 | |
0.1.3-preview3 | 466 | 9/23/2020 | |
0.1.3-preview2 | 412 | 9/18/2020 | |
0.1.3-preview1 | 495 | 9/12/2020 | |
0.1.2 | 803 | 8/27/2020 | |
0.1.1 | 798 | 8/2/2020 | |
0.1.0 | 1,075 | 8/2/2020 |
First stable release is cooming soon