Josh Smith

Follow me down the rabbit hole of cutting edge technology.

Browse by Tags

Display Multiple Icons in a XamDataGrid Field
This blog post demonstrates how to, optionally, display multiple icons/images/indicators in an UnboundField of the XamDataGrid. This is a common use case of a data grid control, where one column displays multiple status values. In this example, we have Read More...
Posted: 06 Sep 2008, 11:32 | 2 Comments
Filed under:
Adding CheckBoxes to the Record Selectors in XamDataGrid
This blog post explains how to add CheckBox controls to the record selectors in XamDataGrid. We will also see how to add a CheckBox to the header area above the record selectors, so that you can have Check All / Uncheck All behavior. You can download Read More...
Posted: 04 Sep 2008, 08:44 | 2 Comments
Filed under:
Article about xamSalesManager
In the recently released NetAdvantage for WPF v8.1, the xamShowcase application contains a new sample called xamSalesManager. I was the Developer on that project, and worked closely with some talented Visual Designers from the Experience Design Group. Read More...
Synchronizing Field Widths between FieldLayouts in XamDataGrid
This blog post shows how to force the width of Fields in a child FieldLayout to have the same width as the Fields in the parent/master FieldLayout. This is a stopgap solution, useful only until XamDataGrid has native support for this feature. The desired Read More...
Data Binding the IsVisible Property of ContextualTabGroup
XamRibbon allows you to have groups of tabs that only display when the application is in a certain state or condition. In other words, it offers context-sensitive tab groups. You can use them by adding ContextualTabGroup objects to the ContextualTabGroups Read More...
Persisting XamDataGrid Field Widths between Runs of an Application
XamDataGrid has many great features, but as of NetAdvantage for WPF v7.2, it does not yet provide a generic way to save and load user settings. A common requirement for a grid-centric application is that the columns/fields in the grid retain their widths Read More...
Putting a CheckBox in the cells of an UnboundField of XamDataGrid
This blog post demonstrates the correct way to put a CheckBox into the cell of an unbound field for each row in a XamDataGrid. The demo application allows the user to dynamically add and remove customers from a 3D Pie Chart, to compare their total sales Read More...
Binding a XamDataGrid Field Property
I recently needed to bind the Visibility of a Field in a XamDataGrid to a property on my ViewModel. I wanted to provide a way for the user to show/hide a column of images in the data grid. My ViewModel object is a POCO (Plain Old Clr Object) that implements Read More...
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...
New version of Tangerine
One of the reasons I love working at Infragistics is that we not only have awesome controls, but we also create cool real-world applications that put those controls to use. Part of our mission here is to provide exemplary guidance on how to create modern Read More...
Automatic Properties and the BinaryFormatter
When I first encountered the C# 3.0 feature known as ' automatic properties ' I had two, almost simultaneous, thoughts: "Oh great!" and "Oh no!" Here is an automatic property: public int Bar { get; set; } This property does not reference a field, but Read More...
Posted: 04 Feb 2008, 19:53 | 12 Comments
Filed under:
Listen to NY Times Podcasts with Silverlight 2.0
I have spent a lot of time recently coming up to speed with Silverlight 2.0. It is the alpha version of Silverlight that is programmable via .NET languages, such as C# and VB.NET. It has been an interesting adventure so far, and I am excited to see how Read More...
The Debugger Visualizer Item Template in VS2008 is Broken
Someone at Microsoft forgot to update the Debugger Visualizer item template for Visual Studio 2008. Suppose that you add a visualizer to your project by selecting the "Debugger Visualizer" item template, as seen below: The template automatically adds Read More...
More Posts Next page »