This question is locked. New answers and comments are not allowed.
Hello,
I have the following column defined:
<TelerikGrid:DataGridTemplateColumn Header="DOSE" x:Name="colDose" >
<TelerikGrid:DataGridTemplateColumn.CellContentTemplate >
<DataTemplate>
<TextBlock Margin="5,12" Foreground="{Binding Converter={StaticResource DoseAlertConverter}}" x:Name="tbDose">
<Run Text="{Binding Dose, Converter={StaticResource RateConverter}}"/>
<Run Text="{Binding Dose, Converter={StaticResource UOMConverter}, ConverterParameter=1}"/>
</TextBlock>
</DataTemplate>
</TelerikGrid:DataGridTemplateColumn.CellContentTemplate>
</TelerikGrid:DataGridTemplateColumn>
How do I programmatically access the text block? I've done this before with other parent controls but can't seem to figure it out with RadDataGrid.
Many Thanks,
Cheri
I have the following column defined:
<TelerikGrid:DataGridTemplateColumn Header="DOSE" x:Name="colDose" >
<TelerikGrid:DataGridTemplateColumn.CellContentTemplate >
<DataTemplate>
<TextBlock Margin="5,12" Foreground="{Binding Converter={StaticResource DoseAlertConverter}}" x:Name="tbDose">
<Run Text="{Binding Dose, Converter={StaticResource RateConverter}}"/>
<Run Text="{Binding Dose, Converter={StaticResource UOMConverter}, ConverterParameter=1}"/>
</TextBlock>
</DataTemplate>
</TelerikGrid:DataGridTemplateColumn.CellContentTemplate>
</TelerikGrid:DataGridTemplateColumn>
How do I programmatically access the text block? I've done this before with other parent controls but can't seem to figure it out with RadDataGrid.
Many Thanks,
Cheri