3 instantiations of Image
PresentationFramework (3)
System\Windows\Documents\FixedElement.cs (1)
298image = new Image
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5735DefaultConstructor = delegate () { return new System.Windows.Controls.Image(); },
System\Windows\Markup\KnownTypes.cs (1)
1316case KnownElements.Image: o = new System.Windows.Controls.Image(); break;
96 references to Image
Microsoft.VisualStudio.LanguageServices (2)
PreviewPane\PreviewPane.xaml.cs (1)
46Image severityIcon,
PreviewPane\PreviewPaneService.cs (1)
41private static Image GetSeverityIconForDiagnostic(DiagnosticData diagnostic)
PresentationFramework (78)
System\Windows\Automation\Peers\ImageAutomationPeer.cs (1)
13public ImageAutomationPeer(Image owner): base(owner)
System\Windows\Controls\Image.cs (17)
80/// <seealso cref="Image.StretchProperty" /> 103/// <seealso cref="Image.Source" /> 109typeof(Image), 129Viewbox.StretchProperty.AddOwner(typeof(Image)); 136Viewbox.StretchDirectionProperty.AddOwner(typeof(Image)); 147typeof(Image)); 163add { AddHandler(Image.DpiChangedEvent, value); } 164remove { RemoveHandler(Image.DpiChangedEvent, value); } 191RaiseEvent(new DpiChangedEventArgs(oldDpi, newDpi, Image.DpiChangedEvent, this)); 381StyleProperty.OverrideMetadata(typeof(Image), new FrameworkPropertyMetadata(style)); 389typeof(Image), 397typeof(Image), 403Image.DpiChangedEvent = Window.DpiChangedEvent.AddOwner(typeof(Image)); 410Style style = new Style(typeof(Image), null); 454Image image = (Image)d;
System\Windows\Documents\FixedDocument.cs (1)
489if (element is Glyphs || element is Image || (p != null && p.Fill is ImageBrush))
System\Windows\Documents\FixedDSBuilder.cs (1)
231fen.uiElement is Image)
System\Windows\Documents\FixedElement.cs (3)
214Image im = GetImage(); 292private Image GetImage() 294Image image = null; // return value
System\Windows\Documents\FixedHighlight.cs (2)
110Image im = _element as Image;
System\Windows\Documents\FixedPageStructure.cs (4)
310Image image = dependencyObject as Image; 579Image image = dependencyObject as Image;
System\Windows\Documents\FixedSOMElement.cs (2)
93else if (uiElement is Image) 95element = FixedSOMImage.Create(page, uiElement as Image, fixedNode);
System\Windows\Documents\FixedSOMImage.cs (1)
47public static FixedSOMImage Create(FixedPage page, Image image, FixedNode fixedNode)
System\Windows\Documents\FixedSOMPageConstructor.cs (4)
249else if (obj is Image || 371Debug.Assert(obj is Image || obj is Path); 376Image image = obj as Image;
System\Windows\Documents\FixedTextBuilder.cs (4)
808return o is Image; 1299Debug.Assert(e is Image); 1300Image im = (Image)e;
System\Windows\Documents\FixedTextContainer.cs (1)
429if (o is Image || o is Path)
System\Windows\Documents\FixedTextView.cs (3)
95else if (e is Image im) 204else if (element is Image image) 453else if (element is Image || element is Path)
System\Windows\Documents\FlowPosition.cs (2)
249Image image = obj as Image;
System\windows\Documents\TextEditorCopyPaste.cs (2)
125Image image = This.Selection.GetUIElementSelected() as Image;
System\Windows\Documents\TextRange.cs (1)
1023internal void InsertImage(System.Windows.Controls.Image image)
System\Windows\Documents\TextRangeSerialization.cs (10)
549if ((inlineUIContainer == null || !(inlineUIContainer.Child is Image)) && 550(blockUIContainer == null || !(blockUIContainer.Child is Image))) 1150if (wpfPayload != null && embeddedObject is Image) 1153Image image = (Image)embeddedObject; 1162Type elementTypeStandardized = typeof(Image); 1175if (property != Image.SourceProperty) 1188xmlWriter.WriteStartElement($"{typeof(Image).Name}.{Image.SourceProperty.Name}"); 1901if (inlineUIContainer != null && !(inlineUIContainer.Child is Image))
System\Windows\Documents\TextSchema.cs (3)
1152Image.SourceProperty, 1153Image.StretchProperty, 1154Image.StretchDirectionProperty,
System\Windows\Documents\WpfPayload.cs (5)
410private BitmapSource GetBitmapSourceFromImage(Image image) 436Image image = _images[imageIndex]; 479internal string AddImage(Image image) 495_images = new List<Image>(); 850private List<Image> _images;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
375case 281: t = () => typeof(Image); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (6)
3071Type type = typeof(System.Windows.Controls.Image); 3072DependencyProperty dp = System.Windows.Controls.Image.SourceProperty; 3074this.GetXamlType(typeof(System.Windows.Controls.Image)), // DeclaringType 3090Type type = typeof(System.Windows.Controls.Image); 3091DependencyProperty dp = System.Windows.Controls.Image.StretchProperty; 3093this.GetXamlType(typeof(System.Windows.Controls.Image)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5732typeof(System.Windows.Controls.Image),
System\Windows\Markup\KnownTypes.cs (3)
1824return System.Windows.Controls.Image.SourceProperty; 1826return System.Windows.Controls.Image.StretchProperty; 5829case KnownElements.Image: t = typeof(System.Windows.Controls.Image); break;
System.Windows.Controls.Ribbon (16)
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (4)
31[TemplatePart(Name = RibbonButton.ImageTemplatePart, Type = typeof(Image))] 65_image = GetTemplateChild(ImageTemplatePart) as Image; 488Image _image = null; 559internal Image Image
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (3)
31[TemplatePart(Name = RibbonRadioButton.ImageTemplatePart, Type = typeof(Image))] 65_image = GetTemplateChild(ImageTemplatePart) as Image; 521Image _image = null;
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (2)
521private Image GetHeaderImage() 523Image imagePart = null;
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (4)
31[TemplatePart(Name = RibbonToggleButton.ImageTemplatePart, Type = typeof(Image))] 72_image = GetTemplateChild(ImageTemplatePart) as Image; 528Image _image = null; 583internal Image Image
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (3)
23[TemplatePart(Name = RibbonWindow._iconTemplateName, Type = typeof(Image))] 89_icon = GetTemplateChild(_iconTemplateName) as Image; 145private Image _icon;