I\'m using the following code to dynamically add columns to my GridView:
public void AddGridViewColumns()
{
GridView view = (GridView)_myListView.View;
G
Just in case someone else takes a look at this question someday, it turns out, the code I presented at the top of this question actually works. The bug was that I had the following declaration elsewhere in my XAML:
<local:BlockToBrushConverter
x:Key="_blockToBrushConverter" />
I believe this duplication prevented the resource from being declared locally for the dynamic DataTemplate (it couldn't create a resource with the same name twice within the same context).
One thing that is sort of unresolved for me is why some StaticResources need to be declared locally, while others (like the _gridViewCenterItemStyle StaticResource) can be declared higher in the tree (such as at the Window level) without a problem.