GridViewWindow
Namespace: TagBites.WinSchedulers
Assembly: TagBites.WinSchedulers.dll
Represents an object that contains columns and rows.
public class GridViewWindow
Properties
Columns
Gets the readonly collection of TagBites.WinSchedulers.GridViewHeader columns.
public ReadOnlyCollection<GridViewHeader> Columns { get; }
Result Type: ReadOnlyCollection<GridViewHeader>
Rows
Gets the readonly collection of TagBites.WinSchedulers.GridViewHeader rows.
public ReadOnlyCollection<GridViewHeader> Rows { get; }
Result Type: ReadOnlyCollection<GridViewHeader>
Methods
GetCellRect(GridViewHeader, GridViewHeader)
Returns the rectangle that represents the display area for a cell.
public Rect GetCellRect(GridViewHeader column, GridViewHeader row)
Result Type: Rect
Parameters
Type | Name | |
---|---|---|
GridViewHeader | column | The column for the desired cell. |
GridViewHeader | row | The row for the desired cell. |
GetCellRect(int, int)
Returns the rectangle that represents the display area for a cell.
public Rect GetCellRect(int columnIndex, int rowIndex)
Result Type: Rect
Parameters
Type | Name | |
---|---|---|
int | columnIndex | The column index for the desired cell. |
int | rowIndex | The row index for the desired cell. |
GetHeaders(Orientation)
Returns the readonly collection of headers specified by orientation.
public ReadOnlyCollection<GridViewHeader> GetHeaders(Orientation orientation)
Result Type: ReadOnlyCollection<GridViewHeader>
Parameters
Type | Name | |
---|---|---|
Orientation | orientation | The orientation of control. |
GetHeaders(GridViewHeaderSection)
Returns the readonly collection of headers specified by the orientation of section.
public ReadOnlyCollection<GridViewHeader> GetHeaders(GridViewHeaderSection section)
Result Type: ReadOnlyCollection<GridViewHeader>
Parameters
Type | Name | |
---|---|---|
GridViewHeaderSection | section | the header section of a . |