How can I assign in the code behind a German Dictionary to a RichTextBox in the CellEditTemplate?
01.<telerik:GridViewDataColumn.CellEditTemplate>02. <DataTemplate>03. <Grid>04. <telerik:RadRichTextBox x:Name="ProtocolRowTextBox"05. IsSpellCheckingEnabled="True"06. BorderThickness="0" 07. Height="Auto"08. Margin="0"09. DocumentInheritsDefaultStyleSettings="True"/>10. <telerik:TxtDataProvider RichTextBox="{Binding ElementName=ProtocolRowText}" 11. Text="{Binding Path=Text, Mode=TwoWay}"/>12. </Grid>13. </DataTemplate>14.</telerik:GridViewDataColumn.CellEditTemplate>
I can't find the RichTextBox in C# by name and assign it to the dictionary , such as:
1.ProtocolRowTextBox.SpellChecker = _localViewModel.DocumentSpellChecker;
