Tuesday, March 4, 2008

WPF Cursors

If you want to see or test the different mouse cursors in WPF (Windows Presentation Foundation) I've created a simple sample project to do so. Note that it is very easy to set the cursor on a FrameworkElement, all you have to do is to set the Cursor property:

<Border Cursor="Hand">
    <Button Content="My Button" Cursor="Help" />
</Border>

Some default Vista cursors:

Download sample project here.

No comments: