i have used xceed property grid. have used collection editor xceed collections in property grid.
[editor(typeof(customcollectioneditor), typeof(customcollectioneditor))] [serializable] public class variable { //properties in class } here custom collection editor has been derived xceed collection editor. nothing has been overwritten. wrapper class.
the xceed website tells following process expand: "the propertygrid supports scenario , allows drill down property’s heirarchy. enable behavior must decorate property expandableobject attribute"
so have used in property as:
[expandableobject] public list<variable> globalvariablelist { { return _varlist; } set { _varlist = value; } } but count of properties displayed in expanding this. , not property name , value.
i think customcollectioneditor needs on collection not item.
Comments
Post a Comment