Table of Contents

Class Util.CursorContext

Namespace
Ranorex.Core
Assembly
Ranorex.Core.dll

A context for setting and restoring the application's current cursor.

public class Util.CursorContext : Util.BaseContext, IDisposable
Inheritance
Util.CursorContext
Implements
Inherited Members

Constructors

CursorContext(Cursor)

Creates a new instance.

public CursorContext(Cursor temporaryCursor)

Parameters

temporaryCursor Cursor

The cursor to use while the context is active.

Methods

OnClose()

Restores the current cursor.

protected override void OnClose()