FindControl
<data:DataGrid IsReadOnly="False" x:Name="dGridExpressions" AutoGenerateColumns="False"> <data:DataGrid.Columns> <data:DataGridTextColumnBinding="{Binding Steps}" Header="Steps"/> <data:DataGridTemplateColumn x:Name="ContentColm" Header="Expression" IsReadOnly="True"> <data:DataGridTemplateColumn.CellEditingTemplate> <DataTemplate> <RichTextBox x:Name="ContentText" MinWidth="610" BorderThickness="1" KeyDown="TextBox_KeyDown" Margin="1"> <Paragraph> <Run Text="{Binding Path=RuleCondition, Mode=TwoWay}" /> </Paragraph> </RichTextBox> </DataTemplate> </data:DataGridTemplateColumn.CellEditingTemplate> </data:DataGridTemplateColumn> </data:DataGrid.Columns> </data:DataGrid>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)