17 using System.ComponentModel;
32 public override PropertyDescriptorCollection GetProperties(Attribute[] attributes)
34 PropertyDescriptorCollection cols = base.GetProperties();
35 PropertyDescriptor prncpl = cols[
"Principal"];
36 PropertyDescriptorCollection prncpl_child = prncpl.GetChildProperties();
37 PropertyDescriptor[] arr =
new PropertyDescriptor[cols.Count + 4];
42 arr[cols.Count + 3] =
new SubPropertyDescriptor(prncpl, prncpl_child[
"Members"],
"Principal_Members");
43 PropertyDescriptorCollection newcols =
new PropertyDescriptorCollection(arr);
Support TypeDescriptionProvider attribute on AcUser.
Support TypeDescriptionProvider attribute on AcUser.