This document is archived and information here might be outdated.  Recommended version.


IWindowPosition.Move Method (ArcObjects .NET 10.4 SDK)
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

Move Dockable Window | Resize Dockable Window