Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mameolan/avalonia.extendedtoolkit
- Owner: mameolan
- License: mit
- Created: 2019-08-31T07:20:08.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T14:58:02.000Z (almost 2 years ago)
- Last Synced: 2024-02-27T08:48:43.165Z (9 months ago)
- Topics: avalonia, csharp, xaml
- Language: C#
- Homepage:
- Size: 1.74 MB
- Stars: 218
- Watchers: 11
- Forks: 16
- Open Issues: 38
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
...
```