ComponentTray.SetLocation Method (IComponent, Point)

 

Sets the location of the specified component to the specified location.

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

public void SetLocation(
	IComponent receiver,
	Point location
)

Parameters

receiver
Type: System.ComponentModel.IComponent

The IComponent to set the location of.

location
Type: System.Drawing.Point

A Point indicating the new location for the specified component.

.NET Framework
Available since 1.1
Return to top
Show: