Charting for WinForms Programmer's Guide
GridPanel Members
Constructors Properties Methods
 


Represents a layout panel that arranges its child components in a grid.

The following tables list the members exposed by the GridPanel type.

 Public Constructors

  Name Description

GridPanel

Initializes a new instance of the GridPanel class.

 Public Properties

  Name Description

ActualHeight

A double value specifying the component's assigned height. Valid only after calling Arrange. (Inherited from Component.)

ActualWidth

A double value specifying the component's assigned width. Valid only after calling Arrange. (Inherited from Component.)

Children

Gets the list of child components of this panel. (Inherited from Panel.)

Columns

Gets or sets a list of GridColumn objects specifying column attributes.

DesiredHeight

A nullable double value specifying the component's desired height. Valid only after calling Measure. (Inherited from Component.)

DesiredWidth

A nullable double value specifying the component's desired width. Valid only after calling Measure. (Inherited from Component.)

GridColumn

Gets or sets the column index of this component when placed inside a GridPanel. (Inherited from Component.)

GridRow

Gets or sets the row index of this component when placed inside a GridPanel. (Inherited from Component.)

Height

Gets or sets a fixed height for this component. (Inherited from Component.)

HitTestVisibility

Gets or sets the hit-test visibility of this component. (Inherited from Component.)

HorizontalAlignment

Gets or sets the horizontal alignment of this component inside the layout rectangle allocated by its parent panel. (Inherited from Component.)

Margin

Gets or sets the margin space around this component relative to the layout rectangle allocated by its parent panel. (Inherited from Component.)

ParentControl

Gets or sets a reference to the control containing this panel. (Inherited from Panel.)

RectInParent

Gets the boundaries of this component relative to its parent. (Inherited from Component.)

Rows

Gets or sets a list of GridRow objects specifying row attributes.

ToolTip

Gets or sets the component's tooltip text. (Inherited from Component.)

VerticalAlignment

Gets or sets the vertical alignment of this component inside the layout rectangle allocated by its parent panel. (Inherited from Component.)

Visibility

Gets or sets the visibility of this component. (Inherited from Component.)

Width

Gets or sets a fixed width for this component. (Inherited from Component.)

XInParent

A double value specifying the component's horizontal position relative to its parent. (Inherited from Component.)

YInParent

A double value specifying the component's vertical position relative to its parent. (Inherited from Component.)

 Public Methods

  Name Description

Arrange

Component.Arrange override. Sets the location and size of this panel and arranges its child components.

CreateController

Returns a ComponentController used to interact with this component. (Inherited from Component.)

Draw

Component.Draw override. Draws child components in specified RenderContext. (Inherited from Panel.)

GetCursorHint

Invoked while the mouse is moved to let your application set the mouse cursor. (Inherited from Component.)

HitTest

Component.HitTest override. Returns the component containing specified point. (Inherited from Panel.)

Invalidate

Component.Invalidate override. Invalidates the appearance of this panel and calls its Draw method at next draw operation. (Inherited from Panel.)

InvalidateLayout

Component.InvalidateLayout override. Invalidates the current layout and runs a new layout pass before next draw operation. (Inherited from Panel.)

LocalToRoot

Transforms the specified point to the coordinate system of the root panel. (Inherited from Component.)

Measure

Panel.Measure override. Measures the desired size of this panel and its child components.

RootToLocal

Transforms the specified point to the coordinate system of this component. (Inherited from Component.)

Visit

Component.Visit override. Implements the visitor design pattern. (Inherited from Panel.)

 Protected Methods

  Name Description

Add

Sums specified nullable double values. (Inherited from Component.)

ArrangeInRect

Arranges a child component in specified layout rectangle. (Inherited from Component.)

Max

Returns the larger of specified values. (Inherited from Component.)

 See Also

GridPanel Class
MindFusion.Charting.Components Namespace