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