OkoloIt.Avalonia.Controls.PropertyPanel
1.1.1
dotnet add package OkoloIt.Avalonia.Controls.PropertyPanel --version 1.1.1
NuGet\Install-Package OkoloIt.Avalonia.Controls.PropertyPanel -Version 1.1.1
<PackageReference Include="OkoloIt.Avalonia.Controls.PropertyPanel" Version="1.1.1" />
<PackageVersion Include="OkoloIt.Avalonia.Controls.PropertyPanel" Version="1.1.1" />
<PackageReference Include="OkoloIt.Avalonia.Controls.PropertyPanel" />
paket add OkoloIt.Avalonia.Controls.PropertyPanel --version 1.1.1
#r "nuget: OkoloIt.Avalonia.Controls.PropertyPanel, 1.1.1"
#:package OkoloIt.Avalonia.Controls.PropertyPanel@1.1.1
#addin nuget:?package=OkoloIt.Avalonia.Controls.PropertyPanel&version=1.1.1
#tool nuget:?package=OkoloIt.Avalonia.Controls.PropertyPanel&version=1.1.1
OkoloIt.Avalonia.Controls.PropertyPanel
This is a PropertyPanel implementation for Avalonia, you can use it in Avalonia Applications.
Supported attributes
You can use the following attributes listed below to edit properties in the PropertyPanel:
System.ComponentModel.BrowsableAttributeSystem.ComponentModel.CategoryAttributSystem.ComponentModel.DisplayNameAttributeSystem.ComponentModel.EditorAttributeSystem.ComponentModel.ReadOnlyAttributeSystem.ComponentModel.DataAnnotations.RangeAttribute
Supported types
PropertyPanel supports a small list of types, which is extended over time:
- Numeric:
int,uint,long,ulong,short,ushort,byte,sbyte,float,double,decimal boolstringGuidEnum- Date and time:
DateTime,DateOnly,TimeOnly,TimeSpan
How To Use
Install the Nuget package:
dotnet add package OkoloIt.Avalonia.Controls.PropertyPanel
Include PropertyPanel styles in your App.axaml:
<Application
...
xmlns:okit="using:OkoloIt.Avalonia.Controls.Themes"
>
<Application.Styles>
<okit:Fluent/>
</Application.Styles>
</Application>
Implement inheritance from interface INotifyPropertyChanged for your model:
public class PropertyModel : INotifyPropertyChanged
{
private string _name = string.Empty;
public string Name {
get => _name;
set {
_name = value;
OnPropertyChanged();
}
}
public event PropertyChangedEventHandler? PropertyChanged;
protected virtual void OnPropertyChanged([CallerMemberName] string? propertyName = null)
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
}
Add PropertyPanel to your view:
<Window
...
xmlns:okit="using:OkoloIt.Avalonia.Controls"
>
<okit:PropertyPanel Content="{Binding PropertyModel}"/>
</Window>
Editors
Adding an editor via attribute
[Editor(typeof(PositionPropertyEditor), typeof(IPropertyEditor))]
public class Position : INotifyPropertyChanged
{
public int X { get; set; }
public int Y { get; set; }
}
Registering and overriding an editor
You can add your own editor or override an existing one using PropertyEditorFactory:
PropertyEditorFactory.Register<PositionPropertyEditor>(typeof(Position));
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. 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. net9.0 was computed. 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. |
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 1.1.1 | 97 | 9/14/2026 | |
| 1.1.0 | 103 | 9/9/2026 | |
| 1.0.2 | 152 | 5/27/2026 | |
| 1.0.1 | 121 | 5/27/2026 | |
| 1.0.0 | 146 | 3/5/2026 | |
| 0.8.2-beta | 113 | 3/5/2026 | |
| 0.8.1-beta | 193 | 2/10/2026 | |
| 0.8.0-beta | 373 | 6/10/2025 | |
| 0.7.0-beta | 240 | 6/8/2025 | |
| 0.6.0-alpha | 172 | 6/6/2025 | |
| 0.5.0-alpha | 199 | 6/5/2025 | |
| 0.4.0-alpha | 205 | 6/5/2025 | |
| 0.3.1-alpha | 201 | 6/5/2025 | |
| 0.3.0-alpha | 210 | 6/4/2025 | |
| 0.2.0 | 334 | 6/3/2025 | |
| 0.1.0 | 276 | 6/3/2025 |