Method EqualStyles
EqualStyles(StringItemInfo, StringItemInfo, bool)
Indicates whether given styles are equal.
public bool EqualStyles(StringItemInfo style1, StringItemInfo style2, bool useColors)
Parameters
style1
StringItemInfoFirst style to compare.
style2
StringItemInfoSecond style to compare.
useColors
boolIndicate whether colors of the styles are assumed.
Returns
- bool
True if styles are equal; otherwise false.