New to Telerik UI for WPFStart a free 30-day trial

CursorPlane

Definition

Namespace:Telerik.Windows.Documents.UI.Adorner

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class CursorPlane : UserControl, ICursor, IComponentConnector

Inheritance: objectCursorPlane

Implements: IComponentConnectorICursor

Constructors

C#
public CursorPlane()

Methods

InitializeComponent

C#
public void InitializeComponent()

Sets the angle of the cursor plane.

C#
public void SetAngle(double angleDegrees)
Parameters:angleDegreesdouble

The angle, in degrees, to set for the cursor plane.

Implements: ICursor.SetAngle(double)

Sets the position of the cursor in the cursor plane.

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

The X-coordinate of the cursor position.

ydouble

The Y-coordinate of the cursor position.

Implements: ICursor.SetPos(double, double)

Sets the element used to display system cursors

C#
public void SetSystemCursorElement(FrameworkElement element)
Parameters:elementFrameworkElement

Displays the cursor plane of the adorner based on the specified cursor type.

C#
public void Show(CursorType type)
Parameters:typeCursorType

The type of cursor to be displayed.

Implements: ICursor.Show(CursorType)