An Avanade Blogging Community

Welcome to An Avanade Blogging Community Sign in | Join | Help
in Search

Bryant's Avanade Blog

WPF/E Cursor Support

I read about the Feb CTP cursor support over in the WPF/E Google group and had to figure it out. I found this post about the Cursor support in WPF and it turns out you can now use the same syntax in WPF/E.

How to set the mouse cursor in one easy step: set the Cursor property. For example, this markup:

<Button Cursor="Help">Help</Button>

… sets the cursor to be the “Help” cursor, when the mouse is over the button.

Here is a quick sample that shows off setting the cursor to "None".

Cross-posted from blogs.sqlxml.org
Published Thursday, February 01, 2007 11:07 AM by bryantl
Filed Under:

Comments

No Comments
Anonymous comments are disabled