Represents a cell in a tabular visualization.

2.0

Hierarchy (view full)

Methods

  • Casts this object to the specified type. Throws error on failure.

    Type Parameters

    • T1

      The target type of the cast.

    • T2

      The type of the object to cast.

    Parameters

    Returns T1

  • Determines whether the specified object is equal to the current object.

    Parameters

    • obj: any

      The object to compare with the current object.

    Returns boolean

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

  • Serves as the default hash function.

    Returns number

    A hash code for the current object.

  • Returns a string that represents the current object.

    Returns string

    A string that represents the current object.

  • Casts this object to the specified type. Returns null on failure.

    Type Parameters

    • T1

      The target type of the cast.

    • T2

      The type of the object to cast.

    Parameters

    Returns null | T1

  • Determines whether the specified object instances are considered equal.

    Parameters

    • objA: any

      The first object to compare.

    • objB: any

      The second object to compare.

    Returns boolean

    true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.

Default capability

  • get BackgroundColor(): Color
  • Gets the color of the background.

    Returns Color

    2.0

  • get BorderColor(): Color
  • Gets the border color.

    Returns Color

    2.0

  • get Bounds(): Rectangle
  • Gets the bounds of the cell. The point (0,0) represents the upper left corner of whole layout.

    Returns Rectangle

    2.0

  • get CanHaveImage(): boolean
  • Gets a value indicating whether this instance can have image.

    Returns boolean

    2.0

  • get ColumnIndex(): number
  • Gets the index of the column.

    Returns number

    2.0

  • get DataValue(): DataValue
  • Gets the data value of this cell. Can be null.

    Returns DataValue

    2.0

  • get HorizontalTextAlignment(): TextAlign
  • Gets the horizontal alignment of text in the cell.

    Returns TextAlign

    2.0

  • get IsUpperLeftInRange(): boolean
  • Gets a value indicating whether this instance is upper left in range. This will always be true for cells that do not span over multiple columns or rows.

    Returns boolean

    2.0

  • Gets a string representing a link url. If the cell does not have a link, this property returns String.Empty.

    Returns string

    2.0

  • get RowIndex(): number
  • Gets the row index of the cell.

    Returns number

    2.0

  • get Text(): string
  • Gets the text.

    Returns string

    2.0

  • get TextColor(): Color
  • Gets the text color.

    Returns Color

    2.0

  • get Tooltip(): string
  • Gets the tooltip for this cell.

    Returns string

    2.0

  • get WordWrap(): boolean
  • Gets a value indicating whether cell text can be drawn on muliple lines or not.

    Returns boolean

    2.0

  • Gets the image displayed in the cell. The image is written in PNG format to the provided stream.

    Parameters

    • outputStream: Stream

      The stream to write output data to.

    Returns boolean

    true if the cell contains an image and it has been written to the provided stream. Otherwise false.

    2.0