Share via


ComponentTray.GetTrayLocation(IComponent) Metodo

Definizione

Ottiene il valore della proprietà di estensione Location.

public:
 System::Drawing::Point GetTrayLocation(System::ComponentModel::IComponent ^ receiver);
[System.ComponentModel.Browsable(false)]
public System.Drawing.Point GetTrayLocation (System.ComponentModel.IComponent receiver);
[<System.ComponentModel.Browsable(false)>]
member this.GetTrayLocation : System.ComponentModel.IComponent -> System.Drawing.Point
Public Function GetTrayLocation (receiver As IComponent) As Point

Parametri

receiver
IComponent

Oggetto IComponent che riceve la proprietà di estensione della posizione.

Restituisce

Point

Oggetto Point che rappresenta la posizione di receiver.

Attributi

Commenti

La Location proprietà extender viene offerta a tutti i componenti non visivi. Il valore restituito tiene conto del valore di AutoScrollPosition. Se receiver non dispone di una visualizzazione componente, il valore restituito è un oggetto vuoto Point.

Si applica a

Vedi anche