Compares two list styles for equality.
Definition
Namespace:Telerik.Windows.Documents.Lists
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
C#
public class ListStyleEqualityComparer : IEqualityComparer<DocumentList>
Inheritance: objectListStyleEqualityComparer
Implements:
Constructors
C#
public ListStyleEqualityComparer()
Methods
Compares two DocumentList objects for equality based on their list styles.
C#
public bool Equals(DocumentList x, DocumentList y)
The first DocumentList to compare.
yDocumentListThe second DocumentList to compare.
Returns:True if the two DocumentList objects are considered equal; otherwise, false.
Implements:
Gets the hash code for the specified DocumentList.
C#
public int GetHashCode(DocumentList obj)
The DocumentList instance for which the hash code is to be computed.
Returns:Returns the hash code as an integer.
Implements: