Welcome to MSDN Blogs Sign in | Join | Help

Marcelo's WebLog

Improving the world one entity at a time

March 2006 - Posts

Derek starts blogging about WPF Annotations
Annotations are very, very cool. I think the support for documents in WPF rocks, and annotations is a natural extension of that. The platform has pretty high-level support for user annotations. But hey, don't take my word for it - say hello to Derek and Read More...
VB.Net Logical Operations and drag/drop flags
Recently I got some email about how some of the VB.Net code I posted on the drag/drop series should translate to C#, specifically about these fragments. If (e.AllowedEffects And DragDropEffects.Copy) = 0 AndAlso _ (e.AllowedEffects And DragDropEffects.Move) Read More...
Good test site
There aren't as many online resources about testing as there are for development, that's for sure. And that just makes it all the more special when you run into a website you didn't know about before and it turns out to have pretty good test-related content. Read More...
WPF drag/drop - it's all about the data
Dragging UIElements around is all good n' nice, but applications are often interested in the data itself more than in any particular representation we might have for it. Declaring our data For this sample, we will simply embed XML in an XmlDataProvider Read More...
Data Binding rocks - and so does this blog
It's about time I linked to Beatriz' blog. There is just so much goodness on it. http://www.beacosta.com/ In particular, you might want to brush up on template, hierarchical data structures, and other fun stuff - we'll be dipping our toes in this stuff Read More...
DataObject-based drag+drop+preview
Using a DataObject I've blogged about data objects in the past ( here and here for example). You can use them for clipboard and drag/drop operations between applications. In this installment, we're going to switch over to using a DataObject, and will Read More...
Build your own cursor
Senkwe has posted a bit of code over here with a creative way to achieve a similar effect to the recent drag/drop post , using custom cursors and a BmpBitmapEncoder. Check it out. http://www.schanda.co.za/blog/PermaLink.aspx?guid=04b1e07d-1dc7-4cb8-a218-a9a088fcd20c Read More...
Showing drag/drop feedback on the WPF adorner layer
Why adorners? In the last sample, I showed how to allow the users to drag and drop shapes in a Canvas, and how to create a preview effect for the operation. One problem with this code is that it only works on Canvas panels. In this post, we'll look into Read More...
Dragging WPF elements
This is the first in a series of post exploring that beloved UI gesture: dragging and dropping things around. In this first post, I'll take a look at the simplest, most striaghtforward approach: adding a bunch of event handlers to your window and updating Read More...
Page view tracker