struct
StyleSheetCollection
public sealed struct StyleSheetCollection A collection of StyleSheet objects applied directly to a panel. See StyleSheet.
Methods
Void Add(StyleSheet sheet) Add a stylesheet directly
Void Load(String filename, Boolean inheritVariables = True, Boolean failSilently = False) Load the stylesheet from a file.
Void Parse(String stylesheet, Boolean inheritVariables = True) Load the stylesheet from a string.
Void Remove(StyleSheet sheet) Remove a specific StyleSheet from the collection.
Void Remove(String wildcardGlob) Remove all stylesheets whose filename matches this wildcard glob.
ValueTuple<String, String>> CollectVariables() Returns all CSS variables from the owning panel and its ancestors.