[]
        
(Showing Draft Content)

C1.WPF.FlexGrid.GridPanel

GridPanel Class

Represents a logical part of the grid, such as the column headers, row headers, and scrollable data part.

Namespace: C1.WPF.FlexGrid
Assembly: C1.WPF.FlexGrid.4.6.2.dll
Syntax
public class GridPanel : Panel, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild

Properties

Name Description
CellType

Gets the type of cell that this panel contains.

Columns

Gets the collection of columns in this GridPanel.

Grid

Gets the C1FlexGrid that owns this GridPanel.

this[int, Column]

Gets or sets the value of a specific cell.

this[int, int]

Gets or sets the value of a specific cell.

this[int, string]

Gets or sets the value of a specific cell.

Rows

Gets the collection of rows in this GridPanel.

Methods

Name Description
ArrangeOverride(Size)

Provides the behavior for the arrange part of the control layout.

AutoSizeColumn(int, double, bool)

Resizes a column to fit its visible contents.

AutoSizeRow(int, double, bool)

Resizes a row to fit its visible contents.

GetCellElement(CellRange)

Gets the FrameworkElement used to represent a cell on the panel.

GetCellRect(CellRange)

Gets a rectangle that represents the position of a CellRange on the panel.

GetCellRect(int, int)

Gets a rectangle that represents the position of a cell on the panel.

GetDataFormatted(int, int)

Gets or sets the formatted content of a specific cell.

GetDataRaw(int, int)

Gets or sets the raw content of a specific cell.

HitTest(RoutedEventArgs)

Gets a HitTestInfo object that contains information about this GridPanel at a given location.

Invalidate()

Forces the grid panel to re-create all visible elements.

Invalidate(CellRange)

Forces the grid panel to re-create the elements in a given CellRange.

MeasureOverride(Size)

Provides the behavior for the measure part of the control layout.

OnCreateAutomationPeer()

Gets an AutomationPeer object used for testing the control.