Ara3D.PropKit
1.6.1
dotnet add package Ara3D.PropKit --version 1.6.1
NuGet\Install-Package Ara3D.PropKit -Version 1.6.1
<PackageReference Include="Ara3D.PropKit" Version="1.6.1" />
<PackageVersion Include="Ara3D.PropKit" Version="1.6.1" />
<PackageReference Include="Ara3D.PropKit" />
paket add Ara3D.PropKit --version 1.6.1
#r "nuget: Ara3D.PropKit, 1.6.1"
#:package Ara3D.PropKit@1.6.1
#addin nuget:?package=Ara3D.PropKit&version=1.6.1
#tool nuget:?package=Ara3D.PropKit&version=1.6.1
Ara3D.PropKit
Ara3D.PropKit is a toolkit for generic run-time property management in C# which is compatible with WinForms and WPF data binding.
The primary use cases are auto UI, data serialization, change monitoring, and notification.
Overview
In the context of this library a "property" is any piece of data, whether it is a field, a property, or an entry into a dictionary,
that has associated meta-data (such as a name, type, UI label) and a validation mechanism.
Properties are described by PropDescriptor instances, which can validate values and provide metadata about the property.
It complements classes in System.ComponentModel, but is easier to work with and has improved separation of concerns.
For example the Ara3D.PropKit.PropDescriptor differs from
System.ComponentModel.PropertyDescriptor in that it has no knowledge about getting / setting values. It simply describes a property,
and how to validate it.
Getting and setting of property values is done via the PropAccessor class, which can be used to wrap any getter or setter function.
The PropProvider class acts as a container around a collection of PropAccessors, and implements the IPropContainer interface.
The IPropContainer interface provides a way to get or set values by name, or all at once. It also inherits from INotifyPropertyChanged so that changes to properties can be monitored.
It also implements ICustomTypeProvider so that it can be used in data binding scenarios by providing run-time type information about the properties it contains
in a way that is compatible with existing frameworks that use System.ComponentModel, such as WPF and WinForms.
Values can be more easily validated, because they are typically passed and returned as PropValue instances which wrap the value and the PropDescriptor
together. The construction of a PropValue forces validation of the value against the PropDescriptor.
You can use a PropContainerWrapper as a dynamic view model around any class, and you can then bind to any property or field on that class.
Classes and Interfaces
PropDescriptor- A class which provides a type, name, UI label, default value, and validation mechanism for a specific kind of property.PropValue- APropDescriptorand an associated value. Provides validation upon construction.PropAccessor- A class which associates aPropDescriptorwith a getter and optional setter function.IPropContainer- An interface inheritingINotifyPropertyChangedandICustomTypeProviderto provide access to get or set values individually by name, or in bulk as collections ofPropValuePropProvider- ImplementsIPropContainerby wrapping a collection ofPropAccessors.PropContainerDictionary- ImplementsIPropContainer. This is a generic key/value collection that storesPropValue.
License
This project is licensed under the MIT License.
Enjoy building dynamic, descriptor-driven UIs in WPF with Ara3D.PropKit!
| 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 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 was computed. 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. |
-
net8.0
- Ara3D.Geometry (>= 1.6.1)
- Ara3D.Utils (>= 1.6.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Ara3D.PropKit:
| Package | Downloads |
|---|---|
|
Ara3D.DataTable
Package Description |
|
|
Ara3D.SDK.Core
Low-level cross-platform foundation packages for Ara 3D SDK applications. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.6.1 | 196 | 7/3/2026 |