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

Значение Point , представляющее расположение receiver.

Комментарии

Свойство Location расширения предлагается всем не визуальным компонентам. Фактическое значение учитывает значение AutoScrollPosition.

Применяется к

См. также раздел