how do i escape a slash character in a WPF binding path, or how to work around?
I'm just learning WPF, and I gragged a table from a datasource onto a window which generated XAML for each column. Some of those columns had names that caused the following: <DataGridTextColumn x:Name="_Rev_UnitColumn" Binding="{Binding Path=Rev/Unit}" Header="Rev/Unit" Width="SizeToHeader" /> This causes the column to come up blank (like me). I (kind of randomly) tried: <DataGridTextColumn x:Name="_Rev_UnitColumn" Binding="{Binding Path=[Rev/Unit]}" Header="Rev/Unit" Width="SizeToHeader" /> And the result was everything worked as I expected it to. Looking at it again, I guess H.B.'s MSDN