< web:Blog x:Name="Brian Lagunas" />

25Sep/090

Extending the ObservableCollection to add navigation methods such as MoveFirst, MoveNext, MoveLast, and MovePrevious.

Recently, I had the need to navigate a list by using methods such as MoveFirts, MovePrevious, MoveNext, and MoveLast while at the same time keeping track of its current location to notify the user where they are at in the list.
Enter the ICollectionView.  “You can think of a collection view as a layer on top [...]

Filed under: .NET 3.5, WPF No Comments
22Sep/090

NETDUG: WPF Event Routing Sample Code

Here is the sample code for last Thursday’s WPF Event Routing presentation.
Download Sample Code
I know I covered the subject fast, but I was in a hurry. I had to go to the airport. So here is a quick review.
Event Types:

Direct events are like ordinary .NET events. They originate in one element and don’t pass to [...]

Filed under: NETDUG, WPF No Comments