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

ITableMetrics

Interface

An interface that encapsulates data about the current TableBase layout.

Definition

Namespace:Telerik.Windows.Controls.Pivot

Assembly:Telerik.Windows.Controls.Pivot.dll

Syntax:

C#
public interface ITableMetrics

Properties

Gets the rectangle that contains the visible cells.

C#
Rect CellsBounds { get; }

Gets the rectangle that contains the visible column headers.

C#
Rect ColumnHeadersBounds { get; }

Gets and enumeration with the currently visible columns.

C#
IEnumerable<int> Columns { get; }

Gets the rectangle that contains the visible row headers.

C#
Rect RowHeadersBounds { get; }

Gets an enumeration with the currently visible rows.

C#
IEnumerable<int> Rows { get; }

Methods

Gets a column from physical point.

C#
int ColumnAt(double x)
Parameters:xdouble

The x coordinate.

Returns:

int

The column id.

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

C#
Rect GetCellBounds(int row, int column)
Parameters:rowint

The row id.

columnint

The column id.

Returns:

Rect

The rectangle that contains the cell.

Gets the data object displayed in a single cell.

C#
object GetCellData(int row, int column)
Parameters:rowint

The cell's row id.

columnint

The cell's column id.

Returns:

object

The data.

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

C#
Rect GetColumnHeaderBounds(int headerRow, int column)
Parameters:headerRowint

The header row id.

columnint

The column id.

Returns:

Rect

The rectangle that contains the header.

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

C#
Rect GetRowHeaderBounds(int row, int headerColumn)
Parameters:rowint

The row id.

headerColumnint

The header column id.

Returns:

Rect

The rectangle that contains the header.

Gets a headers column from physical point.

C#
int HeaderColumnAt(double x)
Parameters:xdouble

The x coordinate.

Returns:

int

The column id.

Gets a headers row from physical point.

C#
int HeaderRowAt(double y)
Parameters:ydouble

The y coordinate.

Returns:

int

The row id.

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

C#
bool IsColumnInCurrentBounds(int column)
Parameters:columnintReturns:

bool

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

C#
bool IsRowInCurrentBounds(int row)
Parameters:rowintReturns:

bool

Gets a row from physical point.

C#
int RowAt(double y)
Parameters:ydouble

The y coordinate.

Returns:

int

The row id.