Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mameolan/avalonia.extendedtoolkit

Extended Controls for Avalonia UI
https://github.com/mameolan/avalonia.extendedtoolkit

avalonia csharp xaml

Last synced: about 5 hours ago
JSON representation

Extended Controls for Avalonia UI

Awesome Lists containing this project

README

        

# Avalonia.ExtendedToolkit

![alt text](github/Images/Avalonia.ExampleApp-Overview.gif "Main application")

Avalonia.ExtendedTool wants to port some controls from the WPF to Avalonia.

Most styles / ideas where taken from:

- [MahApps Toolkit](https://github.com/MahApps/MahApps.Metro)
- [Extended WPF Toolkit](https://github.com/xceedsoftware/wpftoolkit)
- [WPF Toolkit (Microsoft)](https://github.com/dotnet/wpf)

etc.

**Contributor are welcome.**

### Nugets
------

- [Avalonia.Controlz](https://www.nuget.org/packages/mameolan.Avalonia.Controlz/)
- [Avalonia.ExtendedToolkit](https://www.nuget.org/packages/mameolan.Avalonia.ExtendedToolkit/)

### Usage
------
Please have a look at the example app or in the [wiki](https://github.com/mameolan/Avalonia.ExtendedToolkit/wiki) on how to use the controls.

### Solution Structure

------

- Avalonia.Controlz: library which can be merge to the Avalonia Project
- Avalonia.ExampleApp: Example Application for the Extended Toolkit
- Avalonia.ExtendedToolkit: library which have special controls and styles

### How to add the styles to your project

------

```xml









```

Set Color in App.axaml Styles like this i.e.:

```xml

```

or use the ThemeManager (App.axaml.cs):

```cs
public override void OnFrameworkInitializationCompleted()
{
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
{
var window=new MainWindow();
ThemeManager.Instance.EnableTheme(window);
desktop.MainWindow = window;
}

base.OnFrameworkInitializationCompleted();
}
```

### AppBuilder Setup:

```cs
appBuilder
.UsePlatformDetect()
...
.UseSkia()
.UseReactiveUI() //required
.UseAvaloniaExtended() //for i.e. dialog service
...
```