Util method to get the properties of a class in the stylesheet