Monthly Archives: August 2008

Styling a Silverlight ScrollViewer (to Look Like a Mac ScrollViewer)

Update: Project files for the Silverlight Mac ScrollViewer have been uploaded.  Just because we’re working in Microsoft technologies doesn’t mean we can’t throw a bone to our Mac friends. After all, they are the people we love, our cousins and our neighbors, and that irritating guy who is dating our daughter and can’t seem to shut…

...  Read More

Tip For Finding Resources for a Control in generic.xaml

I’ve recently be working on changing the ControlTemplate of a GridViewColumnHeader in a custom ListView that we’ve been working on. (The ListView was rewritten for sorting, so that’s why it had to be custom.) One of the things we had to do was swap out ControlTemplates so that we could display a caret to indicate…

...  Read More

Building a Silverlight ComboBox Using Attached Behaviors

I recently needed to use a ComboBox in an application I was writing.  Because there is no built-in ComboBox in Silverlight I decided to explore building one using attached behaviors.  If you’re not familiar with this design pattern, check out Nikhil’s posts.  My ComboBox behavior is loosely based on his AutoComplete behavior.  I also make…

...  Read More

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

Visual Studio 2008 Service Pack 1 (SP1) Released

Today Microsoft made Visual Studio 2008 Service Pack 1 (SP1) available for download.  I was able to participate in a case study done on SP1 with Microsoft, Misys, and Veracity Solutions specifically using ADO.NET Data Services and the Entity Framework.  You can read the full case study here, though here’s a small snippet: “For more…

...  Read More

Styling the ScrollViewer

I recently got a comment asking if I could do something on creating a Blend-type ScollViewer styling. The only problem is that the ScrollViewer is a multi-post affair, which I’ll try to get completed in the next month or so. I’m going to go ahead and put up the basics here, much like my Styling…

...  Read More

Go Get Windows Live Writer

My previous post is the first one that I’ve used Windows Live Writer to create. I changed from the default WordPress blog post composer because Live Writer gives me the following features: I don’t have to upload my images file-by-file… I just use OneNote to screen grab and then copy and paste from OneNote into…

...  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

Composite Silverlight 2.0 Beta 2 Application Library

Lately I’ve been working with Composite WPF and Silverlight applications at Veracity Solutions.  I spent a few hours over the weekend converting the Composite WPF Application Library to Silverlight.  Tonight I finished porting one of the QuickStarts to Silverlight.  Of course, just today the P&P team posted a AGCompositeApplicationLibrary spike.  Just my luck!  Regardless, here’s…

...  Read More