Поделиться через


InkEdit.Cursor - свойство

Обновлен: Ноябрь 2007

Gets or sets the Cursor that appears when the mouse pointer is over the control.

Пространство имен:  Microsoft.Ink
Сборка:  Microsoft.Ink (в Microsoft.Ink.dll)

Синтаксис

'Декларация
<BrowsableAttribute(True)> _
Public Overrides Property Cursor As Cursor
'Применение
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;
}
/** @property */
/** @attribute BrowsableAttribute(true) */
public Cursor get_Cursor()
/** @property */
/** @attribute BrowsableAttribute(true) */
public  void set_Cursor(Cursor value)
public override function get Cursor () : Cursor
public override function set Cursor (value : Cursor)

Значение свойства

Тип: System.Windows.Forms.Cursor
The cursor that appears when the mouse pointer is over the control.

Заметки

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.

Платформы

Windows Vista

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

InkEdit Класс

InkEdit - члены

Microsoft.Ink - пространство имен

Cursor