There is no definitive answer, as Sharpay could have either worn a wig or styled her hair in that way specifically for the performance. However, it is more likely that she wore a wig, as her hair does not seem to be long enough to be styled in that fashion without extensions.