ArcObjects Library Reference (Framework)  

IWindowPosition.Move Method

Moves and optionally resizes the windows in a single function.

[Visual Basic .NET]
Public Sub Move ( _
    ByVal Left As Integer, _
    ByVal Top As Integer, _
    [ByVal Width As Integer], _
    [ByVal Height As Integer] _
)
[C#]
public void Move (
    int Left,
    int Top,
    int Width,
    int Height
);
[C#]

Optional Values

Width   Supply 0 as a default value.
Height   Supply 0 as a default value.

Product Availability

Available with ArcGIS Desktop.

Remarks

You can use the Move method to set the Left, Top, Width, and Height properties all at the same time.

See Also

IWindowPosition Interface

.NET Snippets

Resize Dockable Window | Move Dockable Window