TableLayoutPanelCellPosition Structure

 

Represents a cell in a TableLayoutPanel.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public value struct TableLayoutPanelCellPosition

NameDescription
System_CAPS_pubmethodTableLayoutPanelCellPosition(Int32, Int32)

Initializes a new instance of the TableLayoutPanelCellPosition class.

NameDescription
System_CAPS_pubpropertyColumn

Gets or sets the column number of the current TableLayoutPanelCellPosition.

System_CAPS_pubpropertyRow

Gets or sets the row number of the current TableLayoutPanelCellPosition.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Specifies whether this TableLayoutPanelCellPosition contains the same row and column as the specified TableLayoutPanelCellPosition.(Overrides ValueType::Equals(Object^).)

System_CAPS_pubmethodGetHashCode()

Returns a hash code for this TableLayoutPanelCellPosition.(Overrides ValueType::GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Converts this TableLayoutPanelCellPosition to a human readable string.(Overrides ValueType::ToString().)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(TableLayoutPanelCellPosition, TableLayoutPanelCellPosition)

Compares two TableLayoutPanelCellPosition objects. The result specifies whether the values of the Row and Column properties of the two TableLayoutPanelCellPosition objects are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(TableLayoutPanelCellPosition, TableLayoutPanelCellPosition)

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: