Method CreateProps
CreateProps(object, bool)
Creates IPropertyGridItem array from all public properties of the specified object.
IEnumerable<IPropertyGridItem> CreateProps(object instance, bool sort = false)
Parameters
instance
objectObject instance which properties will be added.
sort
boolOptional. Equals
false
by default. Iftrue
, properties will be sorted ascending dy name.