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