Skip to content

PropertiGrid 控件支持使用 ICustomTypeDescriptor 自定义显示的属性#1464

Open
TungLamC wants to merge 1 commit intoHandyOrg:masterfrom
TungLamC:master
Open

PropertiGrid 控件支持使用 ICustomTypeDescriptor 自定义显示的属性#1464
TungLamC wants to merge 1 commit intoHandyOrg:masterfrom
TungLamC:master

Conversation

@TungLamC
Copy link

当 PropertiGrid 的 SelectedObject 继承自 ICustomTypeDescriptor 时,TypeDescriptor.GetProperties 的参数应该为对象而不是对象的类型,才能使用 ICustomTypeDescriptor 的接口函数来自定义显示的属性

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant