Class
ContainerTypeIdentifier

Represent a type descriptor about RadDiagramRuler item container.

Definition

Namespace:Telerik.Windows.Controls.Diagrams.Extensions

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

Syntax:

cs-api-definition
public sealed class ContainerTypeIdentifier : IEquatable<ContainerTypeIdentifier>

Inheritance: objectContainerTypeIdentifier

Implements: IEquatable<ContainerTypeIdentifier>

Methods

Create()

Creates an instance of type declared in the Type property.

Declaration

cs-api-definition
public UIElement Create()

Returns

UIElement

Equals(ContainerTypeIdentifier)

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

Declaration

cs-api-definition
public bool Equals(ContainerTypeIdentifier other)

Parameters

other

ContainerTypeIdentifier

An object to compare with this object.

Returns

bool

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

Implements IEquatable<ContainerTypeIdentifier>.Equals(ContainerTypeIdentifier)

Equals(object)

Determines whether the specified object is equal to this instance.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

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)

FromType<TContainer>()

Creates an instance of type TContainer/>.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter")]
public static ContainerTypeIdentifier FromType<TContainer>() where TContainer : UIElement, new()

Returns

ContainerTypeIdentifier

GetHashCode()

Returns a hash code for this instance.

Declaration

cs-api-definition
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()

Operators

operator !=(ContainerTypeIdentifier, ContainerTypeIdentifier)

Implements the operator !=.

Declaration

cs-api-definition
public static bool operator !=(ContainerTypeIdentifier left, ContainerTypeIdentifier right)

Parameters

left

ContainerTypeIdentifier

The left.

right

ContainerTypeIdentifier

The right.

Returns

bool

The result of the operator.

operator ==(ContainerTypeIdentifier, ContainerTypeIdentifier)

Implements the operator ==.

Declaration

cs-api-definition
public static bool operator ==(ContainerTypeIdentifier left, ContainerTypeIdentifier right)

Parameters

left

ContainerTypeIdentifier

The left.

right

ContainerTypeIdentifier

The right.

Returns

bool

The result of the operator.