.NET動態綁定特性(實現PropertyGrid動態設置)

    代碼:  ///動態修改特性       PropertyDescriptorCollection dataAttributes = TypeDescriptor.GetProperties(data);  Type displayType = typeof(BrowsableAttribute);  var fieldInfo = displayType.GetField("browsa
相關文章
相關標籤/搜索