Customer has a Silverlight DataGrid in which one of the cells uses a custom template like this:
<DataTemplate x:Key="ClaimInfoTemplate">
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Claim.m_Part1}" />
<TextBlock Text="{Binding Claim.m_Part2}" Visibility="Visible" />
<TextBlock Text="{Binding Claim.m_Part3}" Visibility="Visible" />
</StackPanel>
</DataTemplate>
At run time parts 2 & 3 may be hidden i.e. Visibility = Collapsed. Currently DataGridCell.Text returns the text of only the first text block unconditionally. DataGridCell.CellText returns all three concatenated without regard to what is/isn't set visible. What they want is a non-coded method to verify only what's currently visible.