4 types derived from ImageSource
PresentationCore (4)
System\Windows\InterOp\D3DImage.cs (1)
40public class D3DImage : ImageSource, IAppDomainShutdownListener
System\Windows\Media\DrawingImage.cs (1)
30public sealed partial class DrawingImage : ImageSource
System\Windows\Media\Generated\DrawingImage.cs (1)
45sealed partial class DrawingImage : ImageSource
System\Windows\Media\Imaging\BitmapSource.cs (1)
36public 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)
415return ImageSource.PixelsToDIPs(_dpiX, (int)_pixelWidth); 430return ImageSource.PixelsToDIPs(_dpiY, (int)_pixelHeight);
System\Windows\Media\BoundsDrawingContextWalker.cs (1)
280ImageSource imageSource,
System\Windows\Media\DrawingDrawingContext.cs (2)
550ImageSource imageSource, 574ImageSource imageSource,
System\Windows\Media\Generated\DrawingContext.cs (2)
270ImageSource imageSource, 286ImageSource imageSource,
System\Windows\Media\Generated\DrawingContextDrawingContextWalker.cs (2)
347ImageSource imageSource, 369ImageSource imageSource,
System\Windows\Media\Generated\DrawingContextWalker.cs (2)
298ImageSource imageSource, 317ImageSource imageSource,
System\Windows\Media\Generated\ImageBrush.cs (10)
104ImageSource oldV = (ImageSource) e.OldValue; 105ImageSource newV = (ImageSource) e.NewValue; 135public ImageSource ImageSource 139return (ImageSource) GetValue(ImageSourceProperty); 190ImageSource vImageSource = ImageSource; 271ImageSource vImageSource = ImageSource; 292ImageSource vImageSource = ImageSource; 398typeof(ImageSource),
System\Windows\Media\Generated\ImageDrawing.cs (10)
104ImageSource oldV = (ImageSource) e.OldValue; 105ImageSource newV = (ImageSource) e.NewValue; 142public ImageSource ImageSource 146return (ImageSource) GetValue(ImageSourceProperty); 210ImageSource vImageSource = ImageSource; 242ImageSource vImageSource = ImageSource; 259ImageSource vImageSource = ImageSource; 356typeof(ImageSource),
System\Windows\Media\Generated\ImageSource.cs (4)
59public new ImageSource Clone() 61return (ImageSource)base.Clone(); 68public new ImageSource CloneCurrentValue() 70return (ImageSource)base.CloneCurrentValue();
System\Windows\Media\Generated\RenderData.cs (4)
1271(ImageSource)DependentLookup(data->hImageSource), 1282(data->hImageSource == 0) ? null : (ImageSource)DependentLookup(data->hImageSource), 1620(ImageSource)DependentLookup(data->hImageSource), 1631(ImageSource)DependentLookup(data->hImageSource),
System\Windows\Media\Generated\RenderDataDrawingContext.cs (2)
611ImageSource imageSource, 660ImageSource imageSource,
System\Windows\Media\HitTestDrawingContextWalker.cs (1)
172ImageSource imageSource,
System\Windows\Media\ImageBrush.cs (1)
50public ImageBrush(ImageSource image)
System\Windows\Media\ImageDrawing.cs (1)
39public ImageDrawing(ImageSource imageSource, Rect rect)
System\Windows\Media\ImageSourceConverter.cs (6)
69if (!(context.Instance is ImageSource)) 75ImageSource value = (ImageSource)context.Instance; 208if (destinationType != null && value is ImageSource) 210ImageSource instance = (ImageSource)value;
System\Windows\Media\ImageSourceValueSerializer.cs (4)
41ImageSource imageSource = value as ImageSource; 72ImageSource imageSource = value as ImageSource;
System\Windows\Media\Imaging\BitmapSource.cs (2)
458return ImageSource.PixelsToDIPs(this.DpiX, this.PixelWidth); 466return ImageSource.PixelsToDIPs(this.DpiY, this.PixelHeight);
PresentationFramework (29)
MS\Internal\AppModel\IconHelper.cs (3)
88public static void GetIconHandlesFromImageSource(ImageSource image, out NativeMethods.IconHandle largeIconHandle, out NativeMethods.IconHandle smallIconHandle) 96public static NativeMethods.IconHandle CreateIconHandleFromImageSource(ImageSource image, Size size) 130private static BitmapSource GenerateBitmapSource(ImageSource img, Size renderSize)
System\Windows\Controls\Image.cs (10)
78public ImageSource Source 80get { return (ImageSource) GetValue(SourceProperty); } 116typeof(ImageSource), 257ImageSource imageSource = Source; 318ImageSource imageSource = Source; 463ImageSource oldValue = (ImageSource)e.OldValue; 464ImageSource newValue = (ImageSource)e.NewValue; 478private static void UpdateBaseUri(DependencyObject d, ImageSource source)
System\Windows\Documents\FixedSOMImage.cs (1)
71ImageSource source = ((ImageBrush)(path.Fill)).ImageSource;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
381case 285: t = () => typeof(ImageSource); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5316typeof(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)
120typeof(ImageSource), 130public ImageSource Overlay 132get { return (ImageSource)GetValue(OverlayProperty); }
System\Windows\Shell\ThumbButtonInfo.cs (3)
58typeof(ImageSource), 66public ImageSource ImageSource 68get { return (ImageSource)GetValue(ImageSourceProperty); }
System\Windows\Window.cs (6)
869typeof(ImageSource), 893public ImageSource Icon 903return (ImageSource) GetValue(IconProperty); 5106w.OnIconChanged(e.NewValue as ImageSource); 5110private void OnIconChanged(ImageSource newIcon) 7326private ImageSource _icon;
ReachFramework (7)
AlphaFlattener\Interfaces.cs (1)
30void DrawImage(ImageSource image, Rect rectangle);
AlphaFlattener\MetroDevice.cs (2)
250public void DrawImage(ImageSource image, Rect rectangle) 698void IMetroDrawingContext.DrawImage(ImageSource image, Rect rectangle)
Serialization\DrawingContextFlattener.cs (2)
288public void DrawImage(ImageSource image, Rect rectangle) 910public void DrawImage(ImageSource image, Rect rectangle)
Serialization\VisualSerializer.cs (2)
611protected void WriteBitmap(string attribute, ImageSource imageSource) 1942void IMetroDrawingContext.DrawImage(ImageSource image, Rect rectangle)
System.Windows.Controls.Ribbon (81)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (6)
30ImageSource imageSource = value as ImageSource; 31ImageSource returnImageSource = null; 53private ImageSource GetSmallIconImageSource(ImageSource imageSource) 227private static BitmapSource GenerateBitmapSource(ImageSource img, Size renderSize)
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (4)
84public ImageSource LargeImageSource 99public ImageSource SmallImageSource 159public ImageSource ToolTipImageSource 204public ImageSource ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (4)
83public ImageSource LargeImageSource 98public ImageSource SmallImageSource 158public ImageSource ToolTipImageSource 203public ImageSource ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonControlService.cs (16)
45DependencyProperty.RegisterAttached("LargeImageSource", typeof(ImageSource), typeof(RibbonControlService), 51public static ImageSource GetLargeImageSource(DependencyObject element) 54return (ImageSource)element.GetValue(LargeImageSourceProperty); 60public static void SetLargeImageSource(DependencyObject element, ImageSource value) 76DependencyProperty.RegisterAttached("SmallImageSource", typeof(ImageSource), typeof(RibbonControlService), 82public static ImageSource GetSmallImageSource(DependencyObject element) 85return (ImageSource)element.GetValue(SmallImageSourceProperty); 91public static void SetSmallImageSource(DependencyObject element, ImageSource value) 196DependencyProperty.RegisterAttached("ToolTipImageSource", typeof(ImageSource), typeof(RibbonControlService), new FrameworkPropertyMetadata(null)); 201public static ImageSource GetToolTipImageSource(DependencyObject element) 204return (ImageSource)element.GetValue(ToolTipImageSourceProperty); 210public static void SetToolTipImageSource(DependencyObject element, ImageSource value) 271DependencyProperty.RegisterAttached("ToolTipFooterImageSource", typeof(ImageSource), typeof(RibbonControlService), new FrameworkPropertyMetadata(null)); 276public static ImageSource GetToolTipFooterImageSource(DependencyObject element) 279return (ImageSource)element.GetValue(ToolTipFooterImageSourceProperty); 285public static void SetToolTipFooterImageSource(DependencyObject element, ImageSource value)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (3)
2979public ImageSource SmallImageSource 3024public ImageSource ToolTipImageSource 3069public ImageSource ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (2)
656public ImageSource ToolTipImageSource 701public ImageSource ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (4)
299public ImageSource SmallImageSource 314public ImageSource LargeImageSource 359public ImageSource ToolTipImageSource 404public ImageSource ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
61ImageSource toolTipImageSource = RibbonControlService.GetToolTipImageSource(d); 64ImageSource toolTipFooterImageSource = RibbonControlService.GetToolTipFooterImageSource(d);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (4)
103public ImageSource LargeImageSource 118public ImageSource SmallImageSource 178public ImageSource ToolTipImageSource 223public ImageSource ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (8)
122public ImageSource ToolTipImageSource 167public ImageSource ToolTipFooterImageSource 182typeof(ImageSource), 189public ImageSource ImageSource 191get { return (ImageSource)GetValue(ImageSourceProperty); } 205typeof(ImageSource), 219public ImageSource QuickAccessToolBarImageSource 221get { return (ImageSource)GetValue(QuickAccessToolBarImageSourceProperty); }
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (4)
83public ImageSource LargeImageSource 98public ImageSource SmallImageSource 158public ImageSource ToolTipImageSource 203public ImageSource ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (6)
162typeof(ImageSource), 169public ImageSource DropDownToolTipImageSource 171get { return (ImageSource)GetValue(DropDownToolTipImageSourceProperty); } 216typeof(ImageSource), 223public ImageSource DropDownToolTipFooterImageSource 225get { return (ImageSource)GetValue(DropDownToolTipFooterImageSourceProperty); }
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (4)
91public ImageSource DropDownToolTipImageSource 93get { return (ImageSource)GetValue(DropDownToolTipImageSourceProperty); } 142public ImageSource DropDownToolTipFooterImageSource 144get { return (ImageSource)GetValue(DropDownToolTipFooterImageSourceProperty); }
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (4)
278public ImageSource LargeImageSource 293public ImageSource SmallImageSource 353public ImageSource ToolTipImageSource 398public ImageSource ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (4)
90public ImageSource LargeImageSource 105public ImageSource SmallImageSource 165public ImageSource ToolTipImageSource 210public ImageSource ToolTipFooterImageSource
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (6)
135public ImageSource ImageSource 137get { return (ImageSource)GetValue(ImageSourceProperty); } 145DependencyProperty.Register("ImageSource", typeof(ImageSource), typeof(RibbonToolTip), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnToolTipHeaderPropertyChanged))); 213public ImageSource FooterImageSource 215get { return (ImageSource)GetValue(FooterImageSourceProperty); } 223DependencyProperty.Register("FooterImageSource", typeof(ImageSource), typeof(RibbonToolTip), new UIPropertyMetadata(new PropertyChangedCallback(OnToolTipFooterPropertyChanged)));