Making a TextBlock in a DataTemplate Accessible

I really love the data templates in XAML that allow me to create a XAML template for rendering an object. This is particularly useful for GridView and other controls that can show the contents of a collection. I was recently working on the accessibility of our application, which allows screen readers to read the text…

0

Using the App Bar to Operate on Items

I’m building a Windows Store App in C# and XAML, and I wanted to allow you to remove/edit/move items in a GridView control, just like you can in the Finance application: When you right-click an item (or swipe down with touch), the item is selected (MSFT here) and the app bar pops up with commands…

2

Building a Single-Select List in jQuery

We needed a single-select list box for a web application we’re building. We also needed each item in the list to have rich formatting, so we didn’t want to use the built-in list box. I knew that jQuery UI had a Selectable widget that looked very promising. However we didn’t want multi-selection or the other…

0

How to Name Test Methods

I really like BDD (Behavior Driven Development) and it’s structure for helping to focus on behavior instead of implementation when you write unit tests. Some time ago I ran across a blog post by my former colleague in the patterns & practices group Daniel Cazzulino: Writing meaningful, self-documenting, behavior-oriented tests. Another good post, which has…

0

Retrieving TFS Results from a Tree Query

I recently needed to retrieve the results from a TFS tree query using .NET code, via calls to the TFS API. It was easy to find examples for retrieving a set of work items from a flat query, but I couldn’t find any information about how to retrieve a tree. I did find a few…

1