ComponentTray::SetTrayLocation Method (IComponent^, Point)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Sets the value of the Location extender property.

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

public:
void SetTrayLocation(
	IComponent^ receiver,
	Point location
)

Parameters

receiver
Type: System.ComponentModel::IComponent^

The IComponent that receives the location extender property.

location
Type: System.Drawing::Point

A Point representing the location of receiver.

The Location extender property is offered to all non-visual components. The actual value takes into account the value of AutoScrollPosition.

.NET Framework
Available since 2.0
Return to top
Show: