New to Telerik UI for WPFStart a free 30-day trial

Represents the data model for item in the RadDiagramRuler.

Definition

Namespace:Telerik.Windows.Controls.Diagrams.Extensions

Assembly:Telerik.Windows.Controls.Diagrams.Extensions.dll

Syntax:

C#
public class RulerScaleItem : IEquatable<RulerScaleItem>

Inheritance: objectRulerScaleItem

Implements: IEquatable<RulerScaleItem>

Methods

Determines whether the specified object is equal to this instance.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with this instance.

Returns:

bool

true if the specified object is equal to this instance; otherwise, false.

Overrides: object.Equals(object)

Indicates whether the current object is equal to another object of the same type.

C#
public bool Equals(RulerScaleItem other)
Parameters:otherRulerScaleItem

An object to compare with this object.

Returns:

bool

True if the current object is equal to the other parameter; otherwise, false.

Implements: IEquatable<RulerScaleItem>.Equals(RulerScaleItem)

Returns a hash code for this instance.

C#
public override int GetHashCode()
Returns:

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides: object.GetHashCode()