/// <summary> /// Gets a text style entry by name. /// </summary> public TextStyle GetTextStyle(string name) => TextStyles.FirstOrDefault(s => s.Name?.Equals(name, StringComparison.InvariantCultureIgnoreCase) == true);
/// <summary> /// Gets a text style entry by name. /// </summary> public TextStyle GetTextStyle(string name) => TextStyles.FirstOrDefault(s => s.Name?.Equals(name, StringComparison.InvariantCultureIgnoreCase) == true);