4 types derived from ImageSource
PresentationCore (4)
System\Windows\InterOp\D3DImage.cs (1)
28public class D3DImage : ImageSource, IAppDomainShutdownListener
System\Windows\Media\DrawingImage.cs (1)
19public sealed partial class DrawingImage : ImageSource
System\Windows\Media\Generated\DrawingImage.cs (1)
17sealed partial class DrawingImage : ImageSource
System\Windows\Media\Imaging\BitmapSource.cs (1)
21public abstract class BitmapSource : ImageSource, DUCE.IResource
181 references to ImageSource
Microsoft.VisualStudio.LanguageServices (8)
CallHierarchy\CallHierarchyItem.cs (3)
28private readonly Func<ImageSource> _glyphCreator; 36Func<ImageSource> glyphCreator, 88public ImageSource DisplayGlyph
CallHierarchy\FieldInitializerItem.cs (2)
15public FieldInitializerItem(string name, string sortText, ImageSource displayGlyph, IEnumerable<CallHierarchyDetail> details) 25public ImageSource DisplayGlyph { get; }
Utilities\GlyphExtensions.cs (1)
213public static ImageSource GetImageSource(this Glyph glyph, IGlyphService glyphService)
Utilities\SymbolViewModel.cs (1)
49public ImageSource Glyph => Symbol.GetGlyph().GetImageSource(_glyphService);
ValueTracking\TreeItemViewModel.cs (1)
36public ImageSource GlyphImage => _glyph.GetImageSource(_glyphService);
PresentationCore (56)
System\Windows\InterOp\D3DImage.cs (2)
403return ImageSource.PixelsToDIPs(_dpiX, (int)_pixelWidth); 418return ImageSource.PixelsToDIPs(_dpiY, (int)_pixelHeight);
System\Windows\Media\BoundsDrawingContextWalker.cs (1)
266ImageSource imageSource,
System\Windows\Media\DrawingDrawingContext.cs (2)
532ImageSource imageSource, 556ImageSource imageSource,
System\Windows\Media\Generated\DrawingContext.cs (2)
256ImageSource imageSource, 272ImageSource imageSource,
System\Windows\Media\Generated\DrawingContextDrawingContextWalker.cs (2)
332ImageSource imageSource, 354ImageSource imageSource,
System\Windows\Media\Generated\DrawingContextWalker.cs (2)
283ImageSource imageSource, 302ImageSource imageSource,
System\Windows\Media\Generated\ImageBrush.cs (10)
76ImageSource oldV = (ImageSource) e.OldValue; 77ImageSource newV = (ImageSource) e.NewValue; 107public ImageSource ImageSource 111return (ImageSource) GetValue(ImageSourceProperty); 162ImageSource vImageSource = ImageSource; 243ImageSource vImageSource = ImageSource; 264ImageSource vImageSource = ImageSource; 370typeof(ImageSource),
System\Windows\Media\Generated\ImageDrawing.cs (10)
76ImageSource oldV = (ImageSource) e.OldValue; 77ImageSource newV = (ImageSource) e.NewValue; 114public ImageSource ImageSource 118return (ImageSource) GetValue(ImageSourceProperty); 182ImageSource vImageSource = ImageSource; 214ImageSource vImageSource = ImageSource; 231ImageSource vImageSource = ImageSource; 328typeof(ImageSource),
System\Windows\Media\Generated\ImageSource.cs (4)
32public new ImageSource Clone() 34return (ImageSource)base.Clone(); 41public new ImageSource CloneCurrentValue() 43return (ImageSource)base.CloneCurrentValue();
System\Windows\Media\Generated\RenderData.cs (4)
1258(ImageSource)DependentLookup(data->hImageSource), 1269(data->hImageSource == 0) ? null : (ImageSource)DependentLookup(data->hImageSource), 1607(ImageSource)DependentLookup(data->hImageSource), 1618(ImageSource)DependentLookup(data->hImageSource),
System\Windows\Media\Generated\RenderDataDrawingContext.cs (2)
594ImageSource imageSource, 643ImageSource imageSource,
System\Windows\Media\HitTestDrawingContextWalker.cs (1)
158ImageSource imageSource,
System\Windows\Media\ImageBrush.cs (1)
34public ImageBrush(ImageSource image)
System\Windows\Media\ImageDrawing.cs (1)
34public ImageDrawing(ImageSource imageSource, Rect rect)
System\Windows\Media\ImageSourceConverter.cs (6)
56if (!(context.Instance is ImageSource)) 62ImageSource value = (ImageSource)context.Instance; 195if (destinationType != null && value is ImageSource) 197ImageSource instance = (ImageSource)value;
System\Windows\Media\ImageSourceValueSerializer.cs (4)
36ImageSource imageSource = value as ImageSource; 67ImageSource imageSource = value as ImageSource;
System\Windows\Media\Imaging\BitmapSource.cs (2)
443return ImageSource.PixelsToDIPs(this.DpiX, this.PixelWidth); 451return ImageSource.PixelsToDIPs(this.DpiY, this.PixelHeight);
PresentationFramework (29)
MS\Internal\AppModel\IconHelper.cs (3)
80public static void GetIconHandlesFromImageSource(ImageSource image, out NativeMethods.IconHandle largeIconHandle, out NativeMethods.IconHandle smallIconHandle) 88public static NativeMethods.IconHandle CreateIconHandleFromImageSource(ImageSource image, Size size) 122private static BitmapSource GenerateBitmapSource(ImageSource img, Size renderSize)
System\Windows\Controls\Image.cs (10)
70public ImageSource Source 72get { return (ImageSource) GetValue(SourceProperty); } 108typeof(ImageSource), 249ImageSource imageSource = Source; 310ImageSource imageSource = Source; 455ImageSource oldValue = (ImageSource)e.OldValue; 456ImageSource newValue = (ImageSource)e.NewValue; 470private static void UpdateBaseUri(DependencyObject d, ImageSource source)
System\Windows\Documents\FixedSOMImage.cs (1)
69ImageSource source = ((ImageBrush)(path.Fill)).ImageSource;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
379case 285: t = () => typeof(ImageSource); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5314typeof(System.Windows.Media.ImageSource),
System\Windows\Markup\KnownTypes.cs (1)
5839case KnownElements.ImageSource: t = typeof(System.Windows.Media.ImageSource); break;
System\Windows\Shell\TaskbarItemInfo.cs (3)
118typeof(ImageSource), 128public ImageSource Overlay 130get { return (ImageSource)GetValue(OverlayProperty); }
System\Windows\Shell\ThumbButtonInfo.cs (3)
55typeof(ImageSource), 63public ImageSource ImageSource 65get { return (ImageSource)GetValue(ImageSourceProperty); }
System\Windows\Window.cs (6)
856typeof(ImageSource), 880public ImageSource Icon 890return (ImageSource) GetValue(IconProperty); 5093w.OnIconChanged(e.NewValue as ImageSource); 5097private void OnIconChanged(ImageSource newIcon) 7313private ImageSource _icon;
ReachFramework (7)
AlphaFlattener\Interfaces.cs (1)
28void DrawImage(ImageSource image, Rect rectangle);
AlphaFlattener\MetroDevice.cs (2)
244public void DrawImage(ImageSource image, Rect rectangle) 692void IMetroDrawingContext.DrawImage(ImageSource image, Rect rectangle)
Serialization\DrawingContextFlattener.cs (2)
278public void DrawImage(ImageSource image, Rect rectangle) 900public void DrawImage(ImageSource image, Rect rectangle)
Serialization\VisualSerializer.cs (2)
603protected void WriteBitmap(string attribute, ImageSource imageSource) 1934void IMetroDrawingContext.DrawImage(ImageSource image, Rect rectangle)
System.Windows.Controls.Ribbon (81)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (6)
28ImageSource imageSource = value as ImageSource; 29ImageSource returnImageSource = null; 51private ImageSource GetSmallIconImageSource(ImageSource imageSource) 225private static BitmapSource GenerateBitmapSource(ImageSource img, Size renderSize)
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (4)
81public ImageSource LargeImageSource 96public ImageSource SmallImageSource 156public ImageSource ToolTipImageSource 201public ImageSource ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (4)
81public ImageSource LargeImageSource 96public ImageSource SmallImageSource 156public ImageSource ToolTipImageSource 201public ImageSource ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonControlService.cs (16)
38DependencyProperty.RegisterAttached("LargeImageSource", typeof(ImageSource), typeof(RibbonControlService), 44public static ImageSource GetLargeImageSource(DependencyObject element) 47return (ImageSource)element.GetValue(LargeImageSourceProperty); 53public static void SetLargeImageSource(DependencyObject element, ImageSource value) 69DependencyProperty.RegisterAttached("SmallImageSource", typeof(ImageSource), typeof(RibbonControlService), 75public static ImageSource GetSmallImageSource(DependencyObject element) 78return (ImageSource)element.GetValue(SmallImageSourceProperty); 84public static void SetSmallImageSource(DependencyObject element, ImageSource value) 189DependencyProperty.RegisterAttached("ToolTipImageSource", typeof(ImageSource), typeof(RibbonControlService), new FrameworkPropertyMetadata(null)); 194public static ImageSource GetToolTipImageSource(DependencyObject element) 197return (ImageSource)element.GetValue(ToolTipImageSourceProperty); 203public static void SetToolTipImageSource(DependencyObject element, ImageSource value) 264DependencyProperty.RegisterAttached("ToolTipFooterImageSource", typeof(ImageSource), typeof(RibbonControlService), new FrameworkPropertyMetadata(null)); 269public static ImageSource GetToolTipFooterImageSource(DependencyObject element) 272return (ImageSource)element.GetValue(ToolTipFooterImageSourceProperty); 278public static void SetToolTipFooterImageSource(DependencyObject element, ImageSource value)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (3)
2977public ImageSource SmallImageSource 3022public ImageSource ToolTipImageSource 3067public ImageSource ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (2)
654public ImageSource ToolTipImageSource 699public ImageSource ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (4)
296public ImageSource SmallImageSource 311public ImageSource LargeImageSource 356public ImageSource ToolTipImageSource 401public ImageSource ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
56ImageSource toolTipImageSource = RibbonControlService.GetToolTipImageSource(d); 59ImageSource toolTipFooterImageSource = RibbonControlService.GetToolTipFooterImageSource(d);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (4)
100public ImageSource LargeImageSource 115public ImageSource SmallImageSource 175public ImageSource ToolTipImageSource 220public ImageSource ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (8)
119public ImageSource ToolTipImageSource 164public ImageSource ToolTipFooterImageSource 179typeof(ImageSource), 186public ImageSource ImageSource 188get { return (ImageSource)GetValue(ImageSourceProperty); } 202typeof(ImageSource), 216public ImageSource QuickAccessToolBarImageSource 218get { return (ImageSource)GetValue(QuickAccessToolBarImageSourceProperty); }
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (4)
81public ImageSource LargeImageSource 96public ImageSource SmallImageSource 156public ImageSource ToolTipImageSource 201public ImageSource ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (6)
160typeof(ImageSource), 167public ImageSource DropDownToolTipImageSource 169get { return (ImageSource)GetValue(DropDownToolTipImageSourceProperty); } 214typeof(ImageSource), 221public ImageSource DropDownToolTipFooterImageSource 223get { return (ImageSource)GetValue(DropDownToolTipFooterImageSourceProperty); }
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (4)
88public ImageSource DropDownToolTipImageSource 90get { return (ImageSource)GetValue(DropDownToolTipImageSourceProperty); } 139public ImageSource DropDownToolTipFooterImageSource 141get { return (ImageSource)GetValue(DropDownToolTipFooterImageSourceProperty); }
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (4)
276public ImageSource LargeImageSource 291public ImageSource SmallImageSource 351public ImageSource ToolTipImageSource 396public ImageSource ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (4)
88public ImageSource LargeImageSource 103public ImageSource SmallImageSource 163public ImageSource ToolTipImageSource 208public ImageSource ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (6)
132public ImageSource ImageSource 134get { return (ImageSource)GetValue(ImageSourceProperty); } 142DependencyProperty.Register("ImageSource", typeof(ImageSource), typeof(RibbonToolTip), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnToolTipHeaderPropertyChanged))); 210public ImageSource FooterImageSource 212get { return (ImageSource)GetValue(FooterImageSourceProperty); } 220DependencyProperty.Register("FooterImageSource", typeof(ImageSource), typeof(RibbonToolTip), new UIPropertyMetadata(new PropertyChangedCallback(OnToolTipFooterPropertyChanged)));