KitchenDraw SDK 2
Show / Hide Table of Contents

Class Catalog.Table.Cluster

Represents a cluster of a catalog table, which can be considered as group of rows of a table belonging to the same higher level entity (e.g. articles of a block, finishes of a family, etc.).

Inheritance
object
Catalog.Table.Cluster
Implements
IEquatable<Catalog.Table.Cluster>
Inherited Members
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: KD.SDK2
Assembly: KD.SDK2.dll
Syntax
public class Catalog.Table.Cluster : IEquatable<Catalog.Table.Cluster>
Remarks

In the MobiScript window, current cluster is indicated by a yellow background in the first column of a table.

Properties

Name Description
FirstRowRank

Rank in the table of the first row belonging to the cluster. The method returns 0 if the cluster is empty.

this[int, int]

Reads/writes the information of the cell which has in the cluster given row and column ranks.

Rank

Cluster's rank in the table.

Rows

Rows belonging to the cluster.

Table

Table to which the cluster belongs.

Methods

Name Description
AddRow()

Adds a row at the end of the cluster.

Equals(object)

Determines whether passed object has the same type and value as this one.

GetHashCode()

Provides a numeric value that is used to identify an object in hash-based algorithms.

GetRowFromCode(string, Row, bool)

Finds first row of the cluster with given code.

GetRowFromName(string, Row, bool)

Finds first row of the cluster with given name.

InsertRowBefore(Row)

Inserts a row into the cluster before a given row.

RemoveRow(Row)

Removes a row from the cluster.

TryGetRowFromCode(string, out Row, Row, bool)

Finds first row of the cluster with given code.

TryGetRowFromName(string, out Row, Row, bool)

Finds first row of the cluster with given name.

Operators

Name Description
operator ==(Cluster, Cluster)

Determines whether two specified instances have the same value.

operator !=(Cluster, Cluster)

Determines whether two specified instances have different values.

In this article
Back to top Generated by DocFX