Is there a way to get the DataGridTextColumn name in code behind? For example: I want to get Database name value:
<sdk:DataGrid AutoGenerateColumns="False">
<sdk:DataGrid.Columns>
<sdk:DataGridTextColumn x:Name="Database">
</sdk:DataGridTextColumn>
</sdk:DataGrid.Columns>
</sdk:DataGrid>
Like this?
or if it is inside of the page:
I assumed that you know index. Because if both name and index are unknown, it would be difficult to find it :), unless there are other distinctive properties.