New to Telerik UI for WinForms? Start a free 30-day trial

ICursor

Interface

Controls the cursor type and, for supported cursors, its position and rotation in the adorner plane.

Definition

Namespace:Telerik.WinForms.Documents.UI.Adorner

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public interface ICursor

Methods

Sets the cursor angle in degrees for cursor types that support rotation. System cursor types do not support angle changes.

C#
void SetAngle(double angleDegrees)
Parameters:angleDegreesdouble

The rotation angle in degrees.

Sets the position of the cursor relative to the cursor plane, that holds all adorner controls as well No-op for system cursors, which always follow the mouse

C#
void SetPos(double x, double y)
Parameters:xdouble

The horizontal position relative to the cursor plane.

ydouble

The vertical position relative to the cursor plane.

Shows the specified cursor type. CursorType==None draws no cursor

C#
void Show(CursorType type)
Parameters:typeCursorType

the type of the cursor to show