System.Windows.Forms.Design.ComponentTray.GetTrayLocation Method

Gets the value of the Location extender property.

Syntax

[System.ComponentModel.Localizable(false)]
[System.ComponentModel.DesignOnly(true)]
[System.ComponentModel.Category("Layout")]
[System.ComponentModel.Browsable(false)]
public System.Drawing.Point GetTrayLocation (System.ComponentModel.IComponent receiver)

Parameters

receiver
The System.ComponentModel.IComponent that receives the location extender property.

Returns

A System.Drawing.Point representing the location of receiver.

Remarks

The Location extender property is offered to all non-visual components. The returned value takes into account the value of System.Windows.Forms.ScrollableControl.AutoScrollPosition. If receiver does not have a component view, the returned value is an empty System.Drawing.Point.

Requirements

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