Compares document lists by their styles, ignoring list-specific data outside the style.
Definition
Namespace:Telerik.WinForms.Documents.Lists
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class ListStyleEqualityComparer
Inheritance: objectListStyleEqualityComparer
Constructors
C#
public ListStyleEqualityComparer()
Methods
Determines whether the two lists' styles compare as equal.
C#
public bool Equals(DocumentList x, DocumentList y)
The first list to compare.
yDocumentListThe second list to compare.
Returns:Returns the hash code of the list's style, consistent with the style-based comparison.
C#
public int GetHashCode(DocumentList obj)
The list whose style supplies the hash code.
Returns:The hash code of obj's style.