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; }
Public Property CustomCursor As CustomCursorType
Get
Set
public:
property CustomCursorType CustomCursor {
CustomCursorType get ();
void set (CustomCursorType value);
}
member CustomCursor : CustomCursorType with get, set
PROPERTY CustomCursor AS CustomCursorType GET SET
Property Value
Type:
CustomCursorTypeRemarks 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