4 types derived from ImageSource
PresentationCore (4)
Core\CSharp\System\Windows\Interop\D3DImage.cs (1)
49public class D3DImage : ImageSource, IAppDomainShutdownListener
Core\CSharp\System\Windows\Media\DrawingImage.cs (1)
33public sealed partial class DrawingImage : ImageSource
Core\CSharp\System\Windows\Media\Generated\DrawingImage.cs (1)
51sealed partial class DrawingImage : ImageSource
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (1)
40public abstract class BitmapSource : ImageSource, DUCE.IResource
110 references to ImageSource
PresentationCore (56)
Core\CSharp\System\Windows\Interop\D3DImage.cs (2)
453return ImageSource.PixelsToDIPs(_dpiX, (int)_pixelWidth); 468return ImageSource.PixelsToDIPs(_dpiY, (int)_pixelHeight);
Core\CSharp\System\Windows\Media\BoundsDrawingContextWalker.cs (1)
282ImageSource imageSource,
Core\CSharp\System\Windows\Media\DrawingDrawingContext.cs (2)
566ImageSource imageSource, 591ImageSource imageSource,
Core\CSharp\System\Windows\Media\Generated\DrawingContext.cs (2)
273ImageSource imageSource, 289ImageSource imageSource,
Core\CSharp\System\Windows\Media\Generated\DrawingContextDrawingContextWalker.cs (2)
350ImageSource imageSource, 372ImageSource imageSource,
Core\CSharp\System\Windows\Media\Generated\DrawingContextWalker.cs (2)
301ImageSource imageSource, 320ImageSource imageSource,
Core\CSharp\System\Windows\Media\Generated\ImageBrush.cs (10)
114ImageSource oldV = (ImageSource) e.OldValue; 115ImageSource newV = (ImageSource) e.NewValue; 145public ImageSource ImageSource 149return (ImageSource) GetValue(ImageSourceProperty); 206ImageSource vImageSource = ImageSource; 288ImageSource vImageSource = ImageSource; 311ImageSource vImageSource = ImageSource; 419typeof(ImageSource),
Core\CSharp\System\Windows\Media\Generated\ImageDrawing.cs (10)
114ImageSource oldV = (ImageSource) e.OldValue; 115ImageSource newV = (ImageSource) e.NewValue; 152public ImageSource ImageSource 156return (ImageSource) GetValue(ImageSourceProperty); 226ImageSource vImageSource = ImageSource; 259ImageSource vImageSource = ImageSource; 278ImageSource vImageSource = ImageSource; 377typeof(ImageSource),
Core\CSharp\System\Windows\Media\Generated\ImageSource.cs (4)
65public new ImageSource Clone() 67return (ImageSource)base.Clone(); 74public new ImageSource CloneCurrentValue() 76return (ImageSource)base.CloneCurrentValue();
Core\CSharp\System\Windows\Media\Generated\RenderData.cs (4)
1286(ImageSource)DependentLookup(data->hImageSource), 1297(data->hImageSource == 0) ? null : (ImageSource)DependentLookup(data->hImageSource), 1641(ImageSource)DependentLookup(data->hImageSource), 1652(ImageSource)DependentLookup(data->hImageSource),
Core\CSharp\System\Windows\Media\Generated\RenderDataDrawingContext.cs (2)
691ImageSource imageSource, 748ImageSource imageSource,
Core\CSharp\System\Windows\Media\HitTestDrawingContextWalker.cs (1)
174ImageSource imageSource,
Core\CSharp\System\Windows\Media\ImageBrush.cs (1)
55public ImageBrush(ImageSource image)
Core\CSharp\System\Windows\Media\ImageDrawing.cs (1)
41public ImageDrawing(ImageSource imageSource, Rect rect)
Core\CSharp\System\Windows\Media\ImageSourceConverter.cs (6)
73if (!(context.Instance is ImageSource)) 79ImageSource value = (ImageSource)context.Instance; 216if (destinationType != null && value is ImageSource) 218ImageSource instance = (ImageSource)value;
Core\CSharp\System\Windows\Media\ImageSourceValueSerializer.cs (4)
43ImageSource imageSource = value as ImageSource; 74ImageSource imageSource = value as ImageSource;
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (2)
501return ImageSource.PixelsToDIPs(this.DpiX, this.PixelWidth); 509return ImageSource.PixelsToDIPs(this.DpiY, this.PixelHeight);
PresentationFramework (29)
src\Framework\MS\Internal\AppModel\IconHelper.cs (3)
109public static void GetIconHandlesFromImageSource(ImageSource image, out NativeMethods.IconHandle largeIconHandle, out NativeMethods.IconHandle smallIconHandle) 121public static NativeMethods.IconHandle CreateIconHandleFromImageSource(ImageSource image, Size size) 155private static BitmapSource GenerateBitmapSource(ImageSource img, Size renderSize)
src\Framework\System\Windows\Controls\Image.cs (10)
83public ImageSource Source 85get { return (ImageSource) GetValue(SourceProperty); } 121typeof(ImageSource), 262ImageSource imageSource = Source; 323ImageSource imageSource = Source; 468ImageSource oldValue = (ImageSource)e.OldValue; 469ImageSource newValue = (ImageSource)e.NewValue; 483private static void UpdateBaseUri(DependencyObject d, ImageSource source)
src\Framework\System\Windows\Documents\FixedSOMImage.cs (1)
76ImageSource source = ((ImageBrush)(path.Fill)).ImageSource;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
377case 285: t = () => typeof(ImageSource); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5312typeof(System.Windows.Media.ImageSource),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5829case KnownElements.ImageSource: t = typeof(System.Windows.Media.ImageSource); break;
src\Framework\System\Windows\Shell\TaskbarItemInfo.cs (3)
115typeof(ImageSource), 125public ImageSource Overlay 127get { return (ImageSource)GetValue(OverlayProperty); }
src\Framework\System\Windows\Shell\ThumbButtonInfo.cs (3)
56typeof(ImageSource), 64public ImageSource ImageSource 66get { return (ImageSource)GetValue(ImageSourceProperty); }
src\Framework\System\Windows\Window.cs (6)
880typeof(ImageSource), 909public ImageSource Icon 919return (ImageSource) GetValue(IconProperty); 5261w.OnIconChanged(e.NewValue as ImageSource); 5265private void OnIconChanged(ImageSource newIcon) 7676private ImageSource _icon;
System.Activities.Presentation (25)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\ImageSourceToImageConverter.cs (2)
29ImageSource imageSource = value as ImageSource;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryBase.cs (4)
35private ImageSource categoryIcon = null; 94public ImageSource CategoryIcon 130ImageSource icon = null; 137icon = editor.GetImage(new Size(24, 24)) as ImageSource;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\NewItemFactoryTypeModel.cs (2)
49ImageSource imageSource = image as ImageSource;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (7)
61public static readonly DependencyProperty ButtonIconProperty = DependencyProperty.Register("ButtonIcon", typeof(ImageSource), typeof(ChoiceEditor), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender)); 255public ImageSource ButtonIcon 257get { return (ImageSource)this.GetValue(ChoiceEditor.ButtonIconProperty); } 546public ImageSource GetIconAsImageSource(object key, object parameter) 571ImageSource resourceImageSource = resource as ImageSource; 891ImageSource buttonIcon = this.ButtonIcon;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ValueToIconConverter.cs (1)
20ImageSource GetIconAsImageSource(object key, object parameter);
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemImageConverter.cs (2)
20[ValueConversion(typeof(Bitmap), typeof(ImageSource))] 26if (targetType == typeof(ImageSource) && null != source)
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (7)
141ImageSource enabledImagaSource = null; 142ImageSource disabledImagaSource = null; 176ImageSource enabledImagaSource = null; 177ImageSource disabledImagaSource = null; 196private static void LoadImageSourceFromResource(string iconName, out ImageSource enabledImageSource, out ImageSource disabledImageSource) 218private static DrawingBrush MakeIcon(ImageSource imageSource)