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