c# - 将自定义对象绑定到属性网格
问题描述
我需要将自定义对象列表绑定到属性网格中的下拉列表
public class Myclass{
[category("property settings")]
public ObjType DropValue{get;set;}
}
public class ObjType {
public int id;
public string name;
}
解决方案
推荐阅读
- javascript - wordpress如何将javascript添加到wp-admin
- swift - 使用 -O 时 swiftc 编译时间比不使用时更慢
- node.js - 如何在nodejs中将用户模型与配置文件模型连接起来
- html - Facebook 即时游戏中缺少捆绑配置
- python - 为什么我的递归会产生意外错误?以及如何在到达循环时修改递归?
- javascript - 为什么一个空的、默认的 NextJS 应用程序的性能分数这么低?
- r - 创建长度不等的数据框?
- amazon-web-services - 使用 AWS step 函数为整个数据集运行 ML 管道?
- firebase - 将新项目写入 firebase 时出现错误状态
- r - 当数据框中有数据时,为什么 R 会给我 NA 值?