Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ComponentTray.SetTrayLocation Method

This API supports the .NET Framework 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


Type: System.ComponentModel.IComponent

The IComponent that receives the location extender property.

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft