.NET动态绑定特性(实现PropertyGrid动态设置)

    代码:  ///动态修改特性       PropertyDescriptorCollection dataAttributes = TypeDescriptor.GetProperties(data);  Type displayType = typeof(BrowsableAttribute);  var fieldInfo = displayType.GetField("browsa
相关文章
相关标签/搜索