Table of Contents

Method EqualStyles

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

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 StringItemInfo

First style to compare.

style2 StringItemInfo

Second style to compare.

useColors bool

Indicate whether colors of the styles are assumed.

Returns

bool

True if styles are equal; otherwise false.