1 write to Source
PresentationFramework (1)
System\Windows\Documents\FixedElement.cs (1)
300Source = new System.Windows.Media.Imaging.BitmapImage(source)
25 references to Source
PresentationFramework (25)
System\Windows\Controls\Image.cs (3)
103/// <seealso cref="Image.Source" /> 249ImageSource imageSource = Source; 310ImageSource imageSource = Source;
System\Windows\Documents\FixedElement.cs (2)
302image.Width = image.Source.Width; 303image.Height = image.Source.Height;
System\Windows\Documents\FixedHighlight.cs (1)
111if (im != null && im.Source != null)
System\Windows\Documents\FixedSOMImage.cs (4)
50if (image.Source is BitmapImage) 52BitmapImage imageSource = image.Source as BitmapImage; 55else if (image.Source is BitmapFrame) 57BitmapFrame imageSource = image.Source as BitmapFrame;
System\windows\Documents\TextEditorCopyPaste.cs (2)
126if (image != null && image.Source is System.Windows.Media.Imaging.BitmapSource) 128dataObject.SetImage((System.Windows.Media.Imaging.BitmapSource)image.Source);
System\Windows\Documents\TextRange.cs (1)
1031System.Windows.Media.Imaging.BitmapSource bitmapSource = (System.Windows.Media.Imaging.BitmapSource)image.Source;
System\Windows\Documents\TextRangeSerialization.cs (2)
1155if (image.Source != null && !string.IsNullOrEmpty(image.Source.ToString()))
System\Windows\Documents\WpfPayload.cs (10)
412if (image.Source is BitmapSource) 414return (BitmapSource)image.Source; 417Invariant.Assert(image.Source is DrawingImage); 419DrawingImage di = (DrawingImage)image.Source; 439string imageContentType = GetImageContentType(image.Source.ToString()); 483if (image.Source == null) 488if (string.IsNullOrEmpty(image.Source.ToString())) 502string imageContentType = GetImageContentType(image.Source.ToString()); 510Invariant.Assert(imageContentType == GetImageContentType(_images[i].Source.ToString()), $"Image content types expected to be consistent: {imageContentType} vs. {GetImageContentType(_images[i].Source.ToString())}");