Avalonia属性编辑器控件(Avalonia.PropertyGrid)
Nuget: https://www.nuget.org/packages/bodong.Avalonia.PropertyGrid
GitHub: https://github.com/bodong1987/Avalonia.PropertyGrid
→ 查看在线示例:
https://bodong1987.github.io/Avalonia.PropertyGrid/
本人自己实现的一个开源Avalonia控件,主要特性参考了DevExpress的PropertyGrid,主要有如下特性:
- 支持自动分析类的属性(类似于DevExpress的PropertyGridControl)并显示和编辑
- 支持在一个PropertyGrid中同时编辑多个对象
- 支持实现ICustomTypeDescriptor接口或TypeDescriptionProvider的自定义类型
- 支持自定义属性标签的控件
- 支持自定义任意属性的栅格编辑器(Cell Edit)
- 支持额外的属性操作区及其自定义操作
- 支持数组编辑,支持数组在控件中创建、插入、删除和清除
- 支持数据验证
- 支持内置的撤销和重做框架
- 支持全局
只读设置 - 支持根据条件自动调整属性的可见性
- 支持文件路径选择
- 支持三种显示模式:基于类别、按字母排序和内置排序
- 支持文本过滤、正则表达式过滤,并支持忽略大小写设置
- 支持按类别快速过滤
- 支持数据自动重新加载
- 支持子对象的自动展开
- 支持通过拖动标题调整属性名称和属性值的宽度
- 支持本地化和实时更改语言而无需重启
- 支持Web
详情请参考项目ReadMe,有问题可以在这里讨论,也可以在Github的讨论页面讨论。
This is a PropertyGrid implementation for Avalonia, you can use it in Avalonia Applications.
Its main features are:
- Support automatic analysis of class's Properties like DevExpress's PropertyGridControl and display and edit
- Support simultaneous editing of multiple objects in one PropertyGrid
- Support custom types that implement the ICustomTypeDescriptor interface or TypeDescriptionProvider
- Support custom property label controls
- Support custom property cell edit
- Support for additional property operation areas and their custom operations
- Support array editing, support for creating, inserting, deleting and clearing in the control
- Support data verification
- Support Built-in undo and redo framework
- Support global
ReadOnlysetting - Support for automatically adjusting the visibility of properties based on conditions
- Support path picking
- Support three display modes: category-based, alphabetical sorting and builtin sorting
- Support text filtering, regular expression filtering, and supports ignoring case settings
- Support fast filtering by Category
- Support data automatic reloading
- Support automatic expansion of sub-objects
- Support adjust the width of the property name and property value by drag the title
- Support localization and realtime change language without restart
- Support web

浙公网安备 33010602011771号