Click or drag to resize

DXFReaderNETControlCustomCursor Property

Gets or sets the custom cursor that is displayed when the mouse pointer is over the control.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public CustomCursorType CustomCursor { get; set; }

Property Value

Type: CustomCursorType
Remarks
Select the None value to use the Cursor property instead. Set the color of custom cursor using CustomCursorColor property.
Examples
To use a custom icon as cursor use the following code:
[C#]

dxfReaderNETControl1.CustomCursor = CustomCursorType.None;
dxfReaderNETControl1.Cursor = new Cursor(@"myCursor.ico");
[Visual Basic]

DxfReaderNETControl1.CustomCursor = CustomCursorType.None
DxfReaderNETControl1.Cursor =  New Cursor("myCursor.ico")
See Also