Interface
ITableMetrics

An interface that encapsulates data about the current TableBase layout.

Definition

Namespace:Telerik.Windows.Controls.Pivot

Assembly:Telerik.Windows.Controls.Pivot.dll

Syntax:

cs-api-definition
public interface ITableMetrics

Properties

CellsBounds

Gets the rectangle that contains the visible cells.

Declaration

cs-api-definition
Rect CellsBounds { get; }

Property Value

Rect

ColumnHeadersBounds

Gets the rectangle that contains the visible column headers.

Declaration

cs-api-definition
Rect ColumnHeadersBounds { get; }

Property Value

Rect

Columns

Gets and enumeration with the currently visible columns.

Declaration

cs-api-definition
IEnumerable<int> Columns { get; }

Property Value

IEnumerable<int>

RowHeadersBounds

Gets the rectangle that contains the visible row headers.

Declaration

cs-api-definition
Rect RowHeadersBounds { get; }

Property Value

Rect

Rows

Gets an enumeration with the currently visible rows.

Declaration

cs-api-definition
IEnumerable<int> Rows { get; }

Property Value

IEnumerable<int>

Methods

ColumnAt(double)

Gets a column from physical point.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "x", Justification = "X has a well known meaning.")]
int ColumnAt(double x)

Parameters

x

double

The x coordinate.

Returns

int

The column id.

GetCellBounds(int, int)

Gets the bounds of a cell identified by row and column ids.

Declaration

cs-api-definition
Rect GetCellBounds(int row, int column)

Parameters

row

int

The row id.

column

int

The column id.

Returns

Rect

The rectangle that contains the cell.

GetCellData(int, int)

Gets the data object displayed in a single cell.

Declaration

cs-api-definition
object GetCellData(int row, int column)

Parameters

row

int

The cell's row id.

column

int

The cell's column id.

Returns

object

The data.

GetColumnHeaderBounds(int, int)

Gets the bounds of a header identified by header row and column ids.

Declaration

cs-api-definition
Rect GetColumnHeaderBounds(int headerRow, int column)

Parameters

headerRow

int

The header row id.

column

int

The column id.

Returns

Rect

The rectangle that contains the header.

GetRowHeaderBounds(int, int)

Gets the bounds of a header identified by row and header column ids.

Declaration

cs-api-definition
Rect GetRowHeaderBounds(int row, int headerColumn)

Parameters

row

int

The row id.

headerColumn

int

The header column id.

Returns

Rect

The rectangle that contains the header.

HeaderColumnAt(double)

Gets a headers column from physical point.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "x", Justification = "X has a well known meaning.")]
int HeaderColumnAt(double x)

Parameters

x

double

The x coordinate.

Returns

int

The column id.

HeaderRowAt(double)

Gets a headers row from physical point.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "y", Justification = "Y has a well known meaning.")]
int HeaderRowAt(double y)

Parameters

y

double

The y coordinate.

Returns

int

The row id.

IsColumnInCurrentBounds(int)

Identifies whether the given column index is in the current metrics bounds.

Declaration

cs-api-definition
bool IsColumnInCurrentBounds(int column)

Parameters

column

int

Returns

bool

IsRowInCurrentBounds(int)

Identifies whether the given row index is in the current metrics bounds.

Declaration

cs-api-definition
bool IsRowInCurrentBounds(int row)

Parameters

row

int

Returns

bool

RowAt(double)

Gets a row from physical point.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "y", Justification = "Y has a well known meaning.")]
int RowAt(double y)

Parameters

y

double

The y coordinate.

Returns

int

The row id.