How to Assign ColumnHeaderContainerStyle and ColumnHeaderTemplate to a ListView Style

This is just a quick note on creating a ListView style with the appropriate GridView style and template assignments. Normally, I’ve been creating listviews that look like this: <ListView x:Name=”MyListView”                ItemContainerStyle=”{DynamicResource MyListViewItemContainerStyle}”>     <ListView.View>          <GridView ColumnHeaderContainerStyle=”{DynamicResource MyListViewHeaderStyle}”                          ColumnHeaderTemplate=”{DynamicResource MyGridColumnHeaderTemplate}”>  I did this because I didn’t know exactly how to assign these styles…

Read More

Head First C#: Silverlight Supplement For Chapter 1 (pages 8-16)

Silverlight Concepts Covered: Building a basic Silverlight project Creating code behind for a event triggered by the user Creating an HTML alert (a fake MessageBox) in Silverlight Project Files are available for download at the bottom of the page. Because I’m an interaction designer and not a coder, I find that there are certain things…

Read More