private static SUIStyle PARSE_STYLE(string inStyle) { SUIStyle outStyle = new SUIStyle(); string[] stylings = inStyle.Split(';'); foreach (string style in stylings) { if (style.Length > 0) { if (style.ToLower().Contains("orientation:")) { // TODO: Parse correctly outStyle.Orientation = SUIStyle.STYLE_ORIENTATION.HORIZONTAL; } } } return(outStyle); }
public void setStyle(SUIStyle inStyle) { Style = inStyle; }