AutoSettingUI.Core
1.3.0
See the version list below for details.
dotnet add package AutoSettingUI.Core --version 1.3.0
NuGet\Install-Package AutoSettingUI.Core -Version 1.3.0
<PackageReference Include="AutoSettingUI.Core" Version="1.3.0" />
<PackageVersion Include="AutoSettingUI.Core" Version="1.3.0" />
<PackageReference Include="AutoSettingUI.Core" />
paket add AutoSettingUI.Core --version 1.3.0
#r "nuget: AutoSettingUI.Core, 1.3.0"
#:package AutoSettingUI.Core@1.3.0
#addin nuget:?package=AutoSettingUI.Core&version=1.3.0
#tool nuget:?package=AutoSettingUI.Core&version=1.3.0
AutoSettingUI.Core
Core library for AutoSettingUI - A declarative settings UI framework for .NET that automatically generates settings panels from C# classes decorated with attributes.
Installation
<PackageReference Include="AutoSettingUI.Core" />
Features
- ✨ Attribute-driven — Decorate properties with attributes to customize rendering
- ⚡ AOT-compatible — Works with Native AOT and trimming
- 🔌 Extensible — Inject custom providers and accessors
Quick Start
using AutoSettingUI.Core.Attributes;
[SettingUI(Category = "General", Order = 0)]
[MainHeader("Application Settings")]
public class AppSettings
{
[Title("App Name")]
public string Name { get; set; } = "My App";
[Title("Enable Dark Mode")]
public bool DarkMode { get; set; }
[Title("Volume"), Range(0, 100)]
public int Volume { get; set; } = 50;
[Title("Language")]
[ItemsSource(typeof(AppSettings), nameof(AvailableLanguages))]
public string Language { get; set; } = "en-US";
public static string[] AvailableLanguages => ["en-US", "zh-CN", "ja-JP"];
}
Available Attributes
| Attribute | Target | Description |
|---|---|---|
[SettingUI] |
Class | Marks class for UI generation |
[MainHeader] |
Class | Sets section header title |
[Title] |
Property | Sets property label |
[SubHeader] |
Property | Creates a sub-section |
[Hide] |
Property | Excludes from UI |
[Range] |
Property | Numeric range (renders slider) |
[ItemsSource] |
Property | Dropdown items source |
[ControlBinding] |
Property | Custom control binding |
[ReadOnly] |
Property | Makes property read-only |
[Password] |
Property | Masks input |
[Placeholder] |
Property | Placeholder text |
[Layout] |
Property | Custom layout settings |
[Validation] |
Property | Custom validation method |
[DisplayOrder] |
Property | Controls display order |
Related Packages
- AutoSettingUI.Generator - Roslyn source generator for AOT support
- AutoSettingUI.Avalonia - Avalonia UI panel
- AutoSettingUI.Ursa - Ursa-themed Avalonia panel
- AutoSettingUI.WPF - WPF panel
Documentation
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on AutoSettingUI.Core:
| Package | Downloads |
|---|---|
|
AutoSettingUI.Extension.Shared
Shared utilities and helpers for AutoSettingUI framework extensions |
|
|
AutoSettingUI.Ursa
Ursa UI implementation for AutoSettingUI - Declarative settings UI controls for Ursa (Avalonia) |
|
|
AutoSettingUI.WPF
WPF UI implementation for AutoSettingUI - Declarative settings UI controls for WPF |
|
|
AutoSettingUI.Avalonia
Avalonia UI implementation for AutoSettingUI - Declarative settings UI controls for Avalonia |
GitHub repositories
This package is not used by any popular GitHub repositories.