InkEdit.Cursor Property
Gets or sets the Cursor that appears when the mouse pointer is over the control.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
<BrowsableAttribute(True)> _
Public Overrides Property Cursor As Cursor
'Usage
Dim instance As InkEdit
Dim value As Cursor
value = instance.Cursor
instance.Cursor = value
[BrowsableAttribute(true)]
public override Cursor Cursor { get; set; }
[BrowsableAttribute(true)]
public:
virtual property Cursor^ Cursor {
Cursor^ get () override;
void set (Cursor^ value) override;
}
public override function get Cursor () : Cursor
public override function set Cursor (value : Cursor)
Property Value
Type: System.Windows.Forms.Cursor
The cursor that appears when the mouse pointer is over the control.
Remarks
The Cursor property overrides the Cursor property of the Control class.
If you set the Cursor property to System.Windows.Forms.Cursors.Default, the behavior of the mouse cursor is based on the drawing attributes of the current cursor in view. If you disable the object while keeping the default cursor setting, the cursor override is disabled and the mouse cursor setting is based on the underlying windows mouse cursor attributes. Setting the cursor to null also disables the object's cursor handling.
If the cursor is set to anything but System.Windows.Forms.Cursors.Default, the object always uses that cursor whether or not the object is enabled.
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.0