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