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>Hi,
I'm using Telerik V2012.1.325.35 and I have a strange behaviour with my RadCarousel component.
In our application we have a RadGridView and beside de RadGridView we have a RadTabControl with 2 TabItems, in the first TabItem I have a RichTextBox and in the second RadTabItem I have a RadCarousel. When I click on one Item in my GridView, I load 2 images on disk, for both image, I create and object of type "InterDependencyImage" (definition at the end) and I added to my carousel using the following piece of code:
var img = pPdf as InterDependencyImage;
img.Image = new Image();
img.Image.Source = img.Frame;
theCarousel.Items.Add(img);
When the loading images process ended, I click on my RadTabItem containing my RadCarousel and I can see my 2 images. The first one is perfectly visible but the 2nd one is blank!!! If I scroll the blank image outside the RadCarousel and I scroll it back into the view portion of the RadCarousel, I can see it perfectly now!!!
I'm I missing something???
Thank's
public class InterDependencyImage
{
#region Contructors.
public InterDependencyImage()
{
No = 1;
TotalImages = 1;
Notes = "";
Type = "";
PrimaryImageGUID = Guid.Empty;
}
#endregion
#region Public properties.
public int No { get; set; }
public int TotalImages { get; set; }
public Image Image { get; set; }
public BitmapFrame Frame { get; set; }
public string Notes { get; set; }
public string Type { get; set; }
public Guid PrimaryImageGUID { get; set; }
#endregion
}