TableLayoutPanelCellPosition Structure
.NET Framework 4.5
Represents a cell in a TableLayoutPanel.
Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The TableLayoutPanelCellPosition type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | TableLayoutPanelCellPosition | Initializes a new instance of the TableLayoutPanelCellPosition class. |
| Name | Description | |
|---|---|---|
![]() | Equals | Specifies whether this TableLayoutPanelCellPosition contains the same row and column as the specified TableLayoutPanelCellPosition. (Overrides ValueType.Equals(Object).) |
![]() | GetHashCode | Returns a hash code for this TableLayoutPanelCellPosition. (Overrides ValueType.GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Converts this TableLayoutPanelCellPosition to a human readable string. (Overrides ValueType.ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality | Compares two TableLayoutPanelCellPosition objects. The result specifies whether the values of the Row and Column properties of the two TableLayoutPanelCellPosition objects are equal. |
![]() ![]() | Inequality | Compares two TableLayoutPanelCellPosition objects. The result specifies whether the values of the Row and Column properties of the two TableLayoutPanelCellPosition objects are unequal. |
The following example shows how to use TableLayoutPanelCellPosition to set the position of a child control in a TableLayoutPanel control. For a full code listing, see How to: Implement a Custom ToolStripRenderer.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)