| Visual Basic (Declaration) | |
|---|---|
Public Overridable ReadOnly Property Cursor As Cursor | |
| C# | |
|---|---|
public virtual Cursor Cursor {get;} | |
This sample overrides the virtual property Cursor on UIElement. It displays a 'hand' cursor when the mouse is over the UIElement.
| Visual Basic | Copy Code |
|---|---|
Imports System.Windows.Forms | |
| C# | Copy Code |
|---|---|
using System.Windows.Forms; | |
