更新 : 2007 年 11 月
名前空間 :
System.Windows.Forms アセンブリ :
System.Windows.Forms (System.Windows.Forms.dll 内)
Public Function GetPositionFromControl ( _
control As Control _
) As TableLayoutPanelCellPosition
Dim instance As TableLayoutPanel
Dim control As Control
Dim returnValue As TableLayoutPanelCellPosition
returnValue = instance.GetPositionFromControl(control)
public TableLayoutPanelCellPosition GetPositionFromControl(
Control control
)
public:
TableLayoutPanelCellPosition GetPositionFromControl(
Control^ control
)
public TableLayoutPanelCellPosition GetPositionFromControl(
Control control
)
public function GetPositionFromControl(
control : Control
) : TableLayoutPanelCellPosition
GetPositionFromControl メソッドは、位置が LayoutEngine によって決定される場合でも、control の実際の現在位置を返します。このメソッドは、列スパンまたは行スパン、および LayoutEngine が Column プロパティと Row プロパティが -1 に設定されたコントロールをいつ配置したかなど、TableLayoutPanel コントロールの状態全体を考慮します。これは、GetColumn および GetRow が -1 を返す状況と同じです。
Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
.NET Framework
サポート対象 : 3.5、3.0、2.0
参照