Josh Smith

Follow me down the rabbit hole of cutting edge technology.

May 2008 - Posts

Using a ViewModel to harness the power of the WPF TreeView
Microsoft's WPF TreeView control can be very difficult to work with, if you try to use it the same way that you program against a Windows Forms TreeView. WPF's TreeView is much more feature-rich and powerful, such as having support for data binding and Read More...
XamDataGrid validation via IDataErrorInfo
Karl Shifflett implemented a great way to have XamDataGrid honor the validation results exposed by a data object that implements the IDataErrorInfo interface. Using this approach to input validation allows your application to keep the business object Read More...
Creating Objects that Support Edit Cancellation via IEditableObject
The IEditableObject interface provides controls with a way to allow a data source to react intelligently to being edited. This might seem superfluous, until you consider that complex controls, such as a data grid, allow the user to cancel an editing session Read More...