internal void SetStyles(StyleSet styles)
 {
     this.styles = this.styles.AddRange(styles.Intersect(RegisteredStyles).ToArray());
     handler.SetStyles(Backend, this.styles);
 }
Esempio n. 2
0
 internal void SetStyles(StyleSet styles)
 {
     this.styles = this.styles.AddRange(styles.Intersect(RegisteredStyles).ToArray());
     this.styles = this.styles.RemoveAll(styles.Where(s => s.StartsWith("-", StringComparison.Ordinal)).Select(s => s.TrimStart('-')).ToArray());
     handler.SetStyles(Backend, this.styles);
 }