Method EqualStyles
EqualStyles(StringItemInfo, StringItemInfo, bool)
When implemented by a class, indicates whether given styles are equal.
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.