需要对绑定的数据项增加读写权限,并且这个权限可以根据管理员级别改变
1条回答 默认 最新
CSDN专家-showbo 2021-11-16 23:14关注参考
c# - Change .NET Property Grid readonly attribute at runtime - Stack Overflow I have a property grid that i wanna change readonly attribute of some of its items at run-time. Changing readonly for simple items is easy and i have no problem there, my problem is i cannot change https://stackoverflow.com/questions/22060112/change-net-property-grid-readonly-attribute-at-runtimec# - PropertyGrid readonly property on object-level - Stack Overflow I want to display multiple instances of one class in my PropertyGrid. The class looks like this: public class Parameter { [Description("the name")] public string Name { get; set; } [ https://stackoverflow.com/questions/10481940/propertygrid-readonly-property-on-object-levelc# - Dynamically set readonly attribute of properties in a PropertyGrid - Stack Overflow I have a PropertyGrid that I used to display the properties in a helper class. I assign the helper class to the PropertyGrid like this: myPropertyGrid.SelectedObject = mySettingsHelper; In the he... https://stackoverflow.com/questions/19640823/dynamically-set-readonly-attribute-of-properties-in-a-propertygrid解决 无用评论 打赏 举报