Extract AppearanceString()

Convert enum Appearance to a class string which can be used in
SetAttribute().