4 writes to Source
PresentationFramework (1)
src\Framework\System\Windows\Documents\FixedElement.cs (1)
309image.Source = new System.Windows.Media.Imaging.BitmapImage(source);
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\manifestimages.cs (1)
300_image.Source = bmp;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\ImageSourceToImageConverter.cs (1)
37image.Source = imageSource;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
964image.Source = new BitmapImage(new Uri(
25 references to Source
PresentationFramework (25)
src\Framework\System\Windows\Controls\Image.cs (3)
116/// <seealso cref="Image.Source" /> 262ImageSource imageSource = Source; 323ImageSource imageSource = Source;
src\Framework\System\Windows\Documents\FixedElement.cs (2)
310image.Width = image.Source.Width; 311image.Height = image.Source.Height;
src\Framework\System\Windows\Documents\FixedHighlight.cs (1)
119if (im != null && im.Source != null)
src\Framework\System\Windows\Documents\FixedSOMImage.cs (4)
57if (image.Source is BitmapImage) 59BitmapImage imageSource = image.Source as BitmapImage; 62else if (image.Source is BitmapFrame) 64BitmapFrame imageSource = image.Source as BitmapFrame;
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (2)
177if (image != null && image.Source is System.Windows.Media.Imaging.BitmapSource) 179dataObject.SetImage((System.Windows.Media.Imaging.BitmapSource)image.Source);
src\Framework\System\Windows\Documents\TextRange.cs (1)
1039System.Windows.Media.Imaging.BitmapSource bitmapSource = (System.Windows.Media.Imaging.BitmapSource)image.Source;
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (2)
1185if (image.Source != null && !string.IsNullOrEmpty(image.Source.ToString()))
src\Framework\System\Windows\Documents\WpfPayload.cs (10)
435if (image.Source is BitmapSource) 437return (BitmapSource)image.Source; 440Invariant.Assert(image.Source is DrawingImage); 442DrawingImage di = (DrawingImage)image.Source; 467string imageContentType = GetImageContentType(image.Source.ToString()); 518if (image.Source == null) 523if (string.IsNullOrEmpty(image.Source.ToString())) 537string imageContentType = GetImageContentType(image.Source.ToString()); 545Invariant.Assert(imageContentType == GetImageContentType(_images[i].Source.ToString()), "Image content types expected to be consistent: " + imageContentType + " vs. " + GetImageContentType(_images[i].Source.ToString()));