Browse by Tags

All Tags » WPF (RSS)

Detecting Idle Time with Global Mouse and Keyboard Hooks in WPF by jdanforth

Years and years ago I wrote this blog post about detecting if the user was idle or active at the keyboard (and mouse) using a global hook. Well that code was for .NET 2.0 and Windows Forms and for some reason I wanted to try the same in WPF and noticed...
Filed under: ,

Custom Caret “cheat” in WPF TextBox by jdanforth

I’ve seen people ask for custom Carets in the WPF TextBox, like in insert mode and you want to have a block caret or underscore. Some say it’s going to be possible/easier to do this in .NET 4.0, but until then, there are some simple cheats you can do...
Filed under:

SQL Azure Explorer Addin for VS2010 Beta 1 by jdanforth

Me and Dag König just released the alpha version of a (so far) small Codeplex project we’ve been working on for the last week or so – an SQL Azure Explorer Addin for Visual Studio 2010 Beta 1 . The reasons for this project are several, but mostly to learn...
Filed under: , , ,

WPF Learnings - Drawing on Multiple Monitors by jdanforth

Some time ago I wrote a fullscreen editing environment add-in for Word to learn some WPF and some Office Ribbon stuff. The editor is called Writespace and is now available om Codeplex as open source. Scott Hanselman was kind enough to take a few minutes...
Filed under: ,

WPF Learnings - Animated Screen Glint Effect by jdanforth

To learn some WPF I wrote this full screen editor called Writespace , which is now open source on Codeplex. I wanted to add some bling to the editor when it was loaded up, so I created a simple animated "screen glint" effect which is totally...
Filed under: ,

Writespace - Fullscreen Writing Environment Add-in for Word by jdanforth

I just published this open source project on Codeplex, and this information is available on the Writespace Codeplex home page as well. Writespace is a fullscreen writing environment , developed with WPF (Windows Presentation Foundation) as a ClickOnce...
Filed under: , , ,

WPF is Different - The XAML Way of Doing Things by jdanforth

Wow, I've finally spent some time looking at Silverlight and WPF samples, and it sure takes a while to wrap your head around "The XAML Way of Doing Things". It's so easy to fall back to the WinForms coding style when you're supposed to do it...
Filed under:

Open a WPF Window from WinForms by jdanforth

If you find yourself in need to open a WPF Window from a WinForms program - this is one way to do it (works for me): 1) Create/Add a new project of type "WPF Custom Control Library" 2) Add a new Item of type "Window (WPF)" 3) Do your...
Filed under:
More Posts