Interface ITableMetrics
An interface that encapsulates data about the current Table
Namespace: Telerik.Windows.Controls.Pivot
Assembly: Telerik.Windows.Controls.Pivot.dll
Syntax
public interface ITableMetrics
Properties
CellsBounds
Gets the rectangle that contains the visible cells.
Declaration
Rect CellsBounds { get; }
Property Value
System.
|
ColumnHeadersBounds
Gets the rectangle that contains the visible column headers.
Declaration
Rect ColumnHeadersBounds { get; }
Property Value
System.
|
Columns
Gets and enumeration with the currently visible columns.
Declaration
IEnumerable<int> Columns { get; }
Property Value
System.
|
RowHeadersBounds
Gets the rectangle that contains the visible row headers.
Declaration
Rect RowHeadersBounds { get; }
Property Value
System.
|
Rows
Gets an enumeration with the currently visible rows.
Declaration
IEnumerable<int> Rows { get; }
Property Value
System.
|
Methods
ColumnAt(Double)
Gets a column from physical point.
Declaration
int ColumnAt(double x)
Parameters
System. The x coordinate. |
Returns
System. The column id. |
GetCellBounds(Int32, Int32)
Gets the bounds of a cell identified by row and column ids.
Declaration
Rect GetCellBounds(int row, int column)
Parameters
System. The row id. |
System. The column id. |
Returns
System. The rectangle that contains the cell. |
GetCellData(Int32, Int32)
Gets the data object displayed in a single cell.
Declaration
object GetCellData(int row, int column)
Parameters
System. The cell's row id. |
System. The cell's column id. |
Returns
System. The data. |
GetColumnHeaderBounds(Int32, Int32)
Gets the bounds of a header identified by header row and column ids.
Declaration
Rect GetColumnHeaderBounds(int headerRow, int column)
Parameters
System. The header row id. |
System. The column id. |
Returns
System. The rectangle that contains the header. |
GetRowHeaderBounds(Int32, Int32)
Gets the bounds of a header identified by row and header column ids.
Declaration
Rect GetRowHeaderBounds(int row, int headerColumn)
Parameters
System. The row id. |
System. The header column id. |
Returns
System. The rectangle that contains the header. |
HeaderColumnAt(Double)
Gets a headers column from physical point.
Declaration
int HeaderColumnAt(double x)
Parameters
System. The x coordinate. |
Returns
System. The column id. |
HeaderRowAt(Double)
Gets a headers row from physical point.
Declaration
int HeaderRowAt(double y)
Parameters
System. The y coordinate. |
Returns
System. The row id. |
IsColumnInCurrentBounds(Int32)
Identifies whether the given column index is in the current metrics bounds.
Declaration
bool IsColumnInCurrentBounds(int column)
Parameters
System.
|
Returns
System.
|
IsRowInCurrentBounds(Int32)
Identifies whether the given row index is in the current metrics bounds.
Declaration
bool IsRowInCurrentBounds(int row)
Parameters
System.
|
Returns
System.
|
RowAt(Double)
Gets a row from physical point.
Declaration
int RowAt(double y)
Parameters
System. The y coordinate. |
Returns
System. The row id. |