Table of Contents

Interface IWindow

Namespace
HP.LFT.SDK.WPF
Assembly
HP.LFT.SDK.dll

A .NET WPF window object.

public interface IWindow : IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ISupportsNativeObject, ITopLevelObject, ITestObject, ITestObjectDescriber
Inherited Members
Extension Methods

Properties

IsModal

Indicates whether this window is modal.

bool IsModal { get; }

Property Value

bool

ParentText

The text associated with the parent object of this object.

string ParentText { get; }

Property Value

string

WindowState

The current window state: maximized, minimized, or normal.

WindowState WindowState { get; }

Property Value

WindowState

Methods

Activate()

Activates this window.

void Activate()

Activate(MouseButton)

Activates this window using the specified mouse button.

void Activate(MouseButton button)

Parameters

button MouseButton

The mouse button used to click the window.

Close()

Closes this window.

void Close()

Maximize()

Maximizes this window.

void Maximize()

Minimize()

Minimizes this window to an icon.

void Minimize()

Move(Point)

Moves this window to the specified absolute location on the screen.

void Move(Point point)

Parameters

point Point

Absolute pixel location on the screen.

Move(int, int)

Moves this window to the specified absolute location on the screen.

void Move(int x, int y)

Parameters

x int

In pixels.

y int

In pixels.

Resize(Size)

Resizes this window to the specified dimensions.

void Resize(Size size)

Parameters

size Size

The size in pixels.

Resize(int, int)

Resizes this window to the specified dimensions.

void Resize(int width, int height)

Parameters

width int

In pixels.

height int

In pixels.

Restore()

Restores this window to its previous size.

void Restore()