defined_properties to get all properties of a component