編輯

共用方式為


ComponentTray.SetTrayLocation(IComponent, Point) Method

Definition

Sets the value of the Location extender property.

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)

Parameters

receiver
IComponent

The IComponent that receives the location extender property.

location
Point

A Point representing the location of receiver.

Remarks

The Location extender property is offered to all non-visual components. The actual value takes into account the value of AutoScrollPosition.

Applies to

See also