You do not need any special kind of binding - TextBlock inherits the datacontext from the string (which is specified by the associated element).
So you can just do this:
<TextBlock Text="{Binding Name}" />
To see that the datacontext is actually inherited by the TextBlock, you can set another datacontext that is closer to the TextBlock in the control hierarchy. Now TextBlock will use this datacontext file.
In this example, the name of the StackPanel will be displayed in the TextBlock instead of the name in the linked row object in the DataGrid:
<DataTemplate> <StackPanel x:Name="panel1" DataContext="{Binding RelativeSource={RelativeSource Self}}"> <TextBlock Text="{Binding Name}" /> <TextBlock Text="{Binding DataContext.Name, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=DataGridRow}}" /> </StackPanel> </DataTemplate>
source share