3 instantiations of Image
PresentationFramework (3)
System\Windows\Documents\FixedElement.cs (1)
302image = new Image();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5266bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.Image(); };
System\Windows\Markup\KnownTypes.cs (1)
1322case KnownElements.Image: o = new System.Windows.Controls.Image(); break;
100 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 (82)
System\Windows\Automation\Peers\ImageAutomationPeer.cs (1)
24public ImageAutomationPeer(Image owner): base(owner)
System\Windows\Controls\Image.cs (17)
88/// <seealso cref="Image.StretchProperty" /> 111/// <seealso cref="Image.Source" /> 117typeof(Image), 137Viewbox.StretchProperty.AddOwner(typeof(Image)); 144Viewbox.StretchDirectionProperty.AddOwner(typeof(Image)); 155typeof(Image)); 171add { AddHandler(Image.DpiChangedEvent, value); } 172remove { RemoveHandler(Image.DpiChangedEvent, value); } 199RaiseEvent(new DpiChangedEventArgs(oldDpi, newDpi, Image.DpiChangedEvent, this)); 389StyleProperty.OverrideMetadata(typeof(Image), new FrameworkPropertyMetadata(style)); 397typeof(Image), 405typeof(Image), 411Image.DpiChangedEvent = Window.DpiChangedEvent.AddOwner(typeof(Image)); 418Style style = new Style(typeof(Image), null); 462Image image = (Image)d;
System\Windows\Documents\FixedDocument.cs (1)
500if (element is Glyphs || element is Image || (p != null && p.Fill is ImageBrush))
System\Windows\Documents\FixedDSBuilder.cs (1)
239fen.uiElement is Image)
System\Windows\Documents\FixedElement.cs (3)
222Image im = GetImage(); 296private Image GetImage() 298Image image = null; // return value
System\Windows\Documents\FixedHighlight.cs (2)
115Image im = _element as Image;
System\Windows\Documents\FixedPageStructure.cs (4)
316Image image = dependencyObject as Image; 585Image image = dependencyObject as Image;
System\Windows\Documents\FixedSOMElement.cs (2)
96else if (uiElement is Image) 98element = FixedSOMImage.Create(page, uiElement as Image, fixedNode);
System\Windows\Documents\FixedSOMImage.cs (1)
49public static FixedSOMImage Create(FixedPage page, Image image, FixedNode fixedNode)
System\Windows\Documents\FixedSOMPageConstructor.cs (4)
252else if (obj is Image || 374Debug.Assert(obj is Image || obj is Path); 379Image image = obj as Image;
System\Windows\Documents\FixedTextBuilder.cs (4)
814return o is Image; 1305Debug.Assert(e is Image); 1306Image im = (Image)e;
System\Windows\Documents\FixedTextContainer.cs (1)
446if (o is Image || o is Path)
System\Windows\Documents\FixedTextView.cs (7)
103else if (e is Image) 105Image im = (Image)e; 215else if (element is Image) 217Image image = (Image)element; 465else if (element is Image || element is Path)
System\Windows\Documents\FlowPosition.cs (2)
253Image image = obj as Image;
System\windows\Documents\TextEditorCopyPaste.cs (2)
138Image image = This.Selection.GetUIElementSelected() as Image;
System\Windows\Documents\TextRange.cs (1)
1034internal void InsertImage(System.Windows.Controls.Image image)
System\Windows\Documents\TextRangeSerialization.cs (10)
555if ((inlineUIContainer == null || !(inlineUIContainer.Child is Image)) && 556(blockUIContainer == null || !(blockUIContainer.Child is Image))) 1156if (wpfPayload != null && embeddedObject is Image) 1159Image image = (Image)embeddedObject; 1168Type elementTypeStandardized = typeof(Image); 1181if (property != Image.SourceProperty) 1194xmlWriter.WriteStartElement($"{typeof(Image).Name}.{Image.SourceProperty.Name}"); 1907if (inlineUIContainer != null && !(inlineUIContainer.Child is Image))
System\Windows\Documents\TextSchema.cs (3)
1158Image.SourceProperty, 1159Image.StretchProperty, 1160Image.StretchDirectionProperty,
System\Windows\Documents\WpfPayload.cs (5)
414private BitmapSource GetBitmapSourceFromImage(Image image) 440Image image = _images[imageIndex]; 483internal string AddImage(Image image) 499_images = new List<Image>(); 854private List<Image> _images;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
377case 281: t = () => typeof(Image); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (6)
2967Type type = typeof(System.Windows.Controls.Image); 2968DependencyProperty dp = System.Windows.Controls.Image.SourceProperty; 2970this.GetXamlType(typeof(System.Windows.Controls.Image)), // DeclaringType 2984Type type = typeof(System.Windows.Controls.Image); 2985DependencyProperty dp = System.Windows.Controls.Image.StretchProperty; 2987this.GetXamlType(typeof(System.Windows.Controls.Image)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5264typeof(System.Windows.Controls.Image),
System\Windows\Markup\KnownTypes.cs (3)
1830return System.Windows.Controls.Image.SourceProperty; 1832return System.Windows.Controls.Image.StretchProperty; 5835case KnownElements.Image: t = typeof(System.Windows.Controls.Image); break;
System.Windows.Controls.Ribbon (16)
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (4)
34[TemplatePart(Name = RibbonButton.ImageTemplatePart, Type = typeof(Image))] 68_image = GetTemplateChild(ImageTemplatePart) as Image; 491Image _image = null; 562internal Image Image
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (3)
33[TemplatePart(Name = RibbonRadioButton.ImageTemplatePart, Type = typeof(Image))] 67_image = GetTemplateChild(ImageTemplatePart) as Image; 523Image _image = null;
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (2)
523private Image GetHeaderImage() 525Image imagePart = null;
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (4)
33[TemplatePart(Name = RibbonToggleButton.ImageTemplatePart, Type = typeof(Image))] 74_image = GetTemplateChild(ImageTemplatePart) as Image; 530Image _image = null; 585internal Image Image
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (3)
28[TemplatePart(Name = RibbonWindow._iconTemplateName, Type = typeof(Image))] 94_icon = GetTemplateChild(_iconTemplateName) as Image; 150private Image _icon;