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
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.