ComponentTray.SetTrayLocation Method (IComponent, Point)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: