ComponentTray.SetTrayLocation(IComponent, Point) メソッド

定義

Location エクステンダー プロパティの値を設定します。

public:
 void SetTrayLocation(System::ComponentModel::IComponent ^ receiver, System::Drawing::Point location);
public void SetTrayLocation(System.ComponentModel.IComponent receiver, System.Drawing.Point location);
member this.SetTrayLocation : System.ComponentModel.IComponent * System.Drawing.Point -> unit
Public Sub SetTrayLocation (receiver As IComponent, location As Point)

パラメーター

receiver
IComponent

場所エクステンダー プロパティを受け取る IComponent

location
Point

receiverの場所を表すPoint

注釈

Location エクステンダー プロパティは、ビジュアル以外のすべてのコンポーネントに提供されます。 実際の値では、 AutoScrollPositionの値が考慮されます。

適用対象

こちらもご覧ください