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: 26 days 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-05T19:28:27.000Z (4 months ago)
- Last Synced: 2024-10-30T01:02:39.831Z (about 1 month ago)
- Topics: avalonia, csharp, xaml
- Language: C#
- Homepage:
- Size: 1.74 MB
- Stars: 256
- Watchers: 11
- Forks: 20
- Open Issues: 39
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-avalonia - ExtendedToolkit - Extended Controls for Avalonia UI. (Libraries & Extensions / Controls)
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
...
```