Skip to content

ui::GridProvider

Header: winui/ui/Automation.hpp.

The Grid pattern: cells addressed by row and column (a TableView). Implement every member.

grid_row_count

virtual std::size_t grid_row_count() const = 0

How many rows.

grid_column_count

virtual std::size_t grid_column_count() const = 0

How many columns.

grid_item

virtual Element* grid_item(std::size_t row, std::size_t column) const = 0

The node of the cell at row and column, or nullptr when the cell has no node, such as a cell of a virtualized row out of view.

~GridProvider

~GridProvider() = default