[]
        
(Showing Draft Content)

C1.Framework.GridPanel

GridPanel Class

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.

Inheritance
GridPanel
Implements
Namespace: C1.Framework
Assembly: C1.Win.4.8.dll
Syntax
public class GridPanel : BasePanel, ISupportUia

Constructors

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.

Fields

Name Description
_cellSpacing
_cols
_hasSpans
_maxRowSpan
_rows
_uniformColumns
_uniformRows

Properties

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.

Methods

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.