[]
Inherits from BasePanel and provides a grid with rows and columns. At each intersection there is a cell object that contains an element. Cells may span rows and columns.
public class GridPanel : BasePanel, ISupportUia
| Name | Description |
|---|---|
| GridPanel() | Initializes a new instance of the GridPanel element. |
| GridPanel(Style) | Initializes a new instance of the GridPanel element with the specified style. |
| GridPanel(Style, int, int) | Initializes a new instance of the GridPanel element with the specified number of rows and columns and style settings. |
| GridPanel(int, int) | Initializes a new instance of the GridPanel element with the specified number of rows and columns. |
| Name | Description |
|---|---|
| _cellSpacing | |
| _cols | |
| _hasSpans | |
| _maxRowSpan | |
| _rows | |
| _uniformColumns | |
| _uniformRows |
| Name | Description |
|---|---|
| CellSpacing | Gets or sets the int value, specifying size in pixels of empty space between adjucent grid cells. |
| Columns | Returns the GridColumnCollection. |
| this[int, int] | Returns the GridCell object displayed in the specified row and column. |
| Rows | Returns the GridRowCollection. |
| UniformColumnWidths | Gets or sets the bool value determining whether all columns should have the same width. |
| UniformRowHeights | Gets or sets the bool value determining whether all rows should have the same height. |
| Name | Description |
|---|---|
| Clone() | Returns a clone of this element. |
| Layout(Graphics) | Layout this element based on its style and contents. |
| Render(Graphics, Rectangle) | Renders the element into a given rectangle. |