or
foreach (AnnotationRangeMarkerBase annotationMarker in paragraph.EnumerateChildrenOfType<AnnotationRangeMarkerBase>().ToList<AnnotationRangeMarkerBase>()){ //.... //Move caret to annotation if ID field is a match //....}private void RadRibbonButton_Click(object sender, RoutedEventArgs e) { editor.ShowComments = !editor.ShowComments }<telerik:RadToolBar> <telerik:RadComboBox Name="rcbProjectTypes" Width="120" Margin="3,1,0,1" ItemsSource="{Binding Path=RequestTypesSelection}" SelectionChanged="rcbShouldNotChange_SelectionChanged"> <telerik:RadComboBox.ItemTemplate> <DataTemplate> <CheckBox Content="{Binding Path=Content}" Tag="{Binding Path=Id}" IsChecked="{Binding Path=IsChecked, Mode=TwoWay}" Checked="RequestTypesCheckBox_Checked" Unchecked="RequestTypesCheckBox_Checked"/> </DataTemplate> </telerik:RadComboBox.ItemTemplate> </telerik:RadComboBox></telerik:RadToolBar>